Communication modes, Send data after error, Table 2-3. control characters – MagTek MICRImage User Manual

Page 16: Table 2-4. error and status codes

Advertising
background image

MICRImage Check Reader


8

Table 2-3. Control Characters

CONTROL

CHARACTER

DESCRIPTION

HEX VALUE

<STX>

Start of Text

02

<ESC> Escape

1B

<ETX>

End of Text

03

<CR> Carriage

Return

0D

<LF> Line

Feed

0A

For example, if <STX> and <CR> are set to YES, the message from the MICRImage will look
like this:

<STX>data<CR>

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 <NAK> (hex 15) character is received in
this mode, the MICRImage will resend the last message.

Send Data After Error

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

Table 2-4. Error and Status Codes

PRIORITY CODE

TYPE

DESCRIPTION

10

01

Error

No MICR data: no transit and no account found

9 09

Status

Mexican

check

8 08

Status

Canadian

check

7

05

Error

No transit, bad character, bad length, bad check digit

6

07

Error

No account, bad character

5

04

Error

Bad character in check number

5

04

Status

No check number

4

12

Status

Short Account (maybe caused by mis-parsed check#)

3

03

Status

Low MICR signal, good read

2 10

Status

Business

check

1

11

Status

Amount field present

0

00

Status

No error, check OK

Advertising