beautypg.com

Communication modes, Send data after error, Table 4-3. control characters – MagTek MICR Plus RS-232 User Manual

Page 22

background image

MICR PLUS, RS-232

14

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 Plus will look
like this:

MICR Data: data


Control Characters and Card Data

The control characters are also available for card data but their position on the message is
controlled by the Card Data Message parameter (see SWC Command, below). For example, if
the and options are set to YES, the message may be transmitted as follows:

If Multiple Message: [TK1][TK2][TK3]

If Single Message:

[TK1] [TK2] [TK3]


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 Plus will resend the last message.

Send Data After Error

The request Send Data After Error specifies whether the MICR Plus will return data to the host
after a read error. If YES is selected and the MICR Plus reads a check with an error, the MICR
Plus will send the data back to the host. If NO is selected and the MICR Plus finds an error, it
will discard the data and nothing will be sent. The error conditions are listed in Table 4-4.