Section 2. properties, Commport property, Dsrholding property – MagTek MTMICRImage User Manual

Page 7: Micrdata property

Advertising
background image

3

SECTION 2. PROPERTIES

COMMPORT PROPERTY
Sets or gets the communications port number.

Syntax

MICRImage.CommPort [ = Value]

The CommPort property syntax has these parts:

Part

Description

Value

An integer value specifying the port
number.


Remarks

You can set value to any number between 1 and (n) at design time (the default is 1).

(n) is Operating System dependent: Windows 95 Limits the Maximum number to 16, while NT
and above allow up to 255.

This property should only be changed when the CommPort is not opened
(MICRImage.PortOpen = False).

Data Type

Read/Write

Integer



DSRHOLDING PROPERTY
Gets the status of the DSRHolding property.

Syntax

Value = MICRImage.DSRHolding

The DSRHolding property syntax has these parts:

Part

Description

Value

A Boolean value specifying the
status.


Remarks

If the DSRHolding property is True and the PortOpen property is True then there is a MICR
attached. If the MICR is disconnected then the DSRHolding property will be False.

Data Type

Read Only

Boolean

Advertising