Msr methods, Micr device class, Micr properties – MagTek OMTD 99875144 User Manual

Page 24

Advertising
background image

OMTD

OPOS

for

MagTek

Devices


18

Property Name

Access

Type

Description

Track2DiscretionaryData

R

BSTR

Track 2 discretionary data obtained from the most
recently swiped card.

Track3Data

R

BSTR

Contains either the track 3 data from the previous
card swipe or an empty string.

TracksToRead R/W

LONG

Indicates

the

track data that the application wishes to

have placed into the Track1Data, Track2Data and
Track3Data properties following a card swipe. The
default is MSR_TR_1_2_3.


MSR Methods

The MSR device class does not define any additional methods.

MICR Device Class

The following sections describe those properties and methods that are specific to the MICR
device class.

MICR Properties

Property Name

Access

Type

Description

AccountNumber

R

BSTR

A string containing the account number parsed from
the most recently read MICR data.

Amount

R

BSTR

A string containing the amount field parsed from the
most recently read MICR data.

BankNumber

R

BSTR

A string containing the bank number portion of the
transit field parsed from the most recently read MICR
data.

CapValidationDevice

R

BOOL

Indicates if this device also performs validation printing
via the POS Printer Control’s slip station.

CheckType

R

LONG

A number that represents the type of check parsed
from the most recently read MICR data.

CountryCode

R

LONG

A number that represents the country of origin of the
check parsed from the most recently read MICR data.

EPC

R

BSTR

A string containing the Extended Processing Code
(“EPC”) field parsed from the most recently read MICR
data. The string will contain a single character 0
though 9 if the field is present. If not, the string will be
empty (“”).

RawData

R

BSTR

A string containing the MICR data from the most recent
MICR read.

SerialNumber

R

BSTR

A string containing the serial number of the check
parsed from the most recently read MICR data.

TransitNumber

R

BSTR

A string containing the transit field of the check parsed
from the most recently read MICR data.

Advertising