beautypg.com

Swb parameters, Control characters and micr data, Control characters and card data – MagTek MINI MICR RS232 User Manual

Page 19: Communication modes, Table 4-3. control characters

background image

Section 4. Commands

11

SWB PARAMETERS

The SWB functions are listed in Table 4-2 and described below.

Control Characters and MICR Data

Control Characters may be added to the MICR data message. The characters are always
in the following locations:

data


The control characters, descriptions, and hex values are shown in Table 4-3.

Table 4-3. Control Characters

CONTROL

CHARACTER

DESCRIPTION

HEX VALUE

Start of Text

02

Escape

1B

End of Text

03

Carriage

Return

0D

Line

Feed

0A


For example, if and are set to YES, the message from the MICR Reader
will look like this:

MICR Data: data


Control Characters and Card Data

The control characters are also available for card data but they are applied to each track
individually. For example, if the and options are set to YES, the card
data message is transmitted as follows:

Card Data: [TK1 data][TK2 data][TK3
data]

Communication Modes

The selection of comm modes is a quick way of selecting multiple Control Characters.
For instance, to send a carriage return/line feed pair after the data, you can specify Comm
Mode 3.

Comm Mode 7, also known as Packet Mode, calculates an LRC (Longitudinal
Redundancy Check), and appends it to the data message. Also, if a (hex 15)
character is received in this mode, the MICR Reader will resend the last message.