Control characters and micr data, Enter> key options, B parameters – MagTek MINI MICR WEDGE User Manual

Page 21: Table 4-1. swa command

Advertising
background image

Section 4. Commands

13

Control Characters and MICR Data

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

<STX> <ESC> [data] <ETX> <ENTER> <ESC>

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

Table 4-4. Control Characters

CONTROL

CHARACTER

DESCRIPTION

<STX>

Start of Text

<ESC> Escape

(Leading)

<ETX>

End of Text

<ENTER> Enter

<ESC> Escape

(Trailing)

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

MICR Data: <STX>[data]<ENTER>

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
<STX> and <ETX> options are set to YES, the message may be transmitted as follows:

If Multiple Message: <STX>[TK1]<ETX><STX>[TK2]<ETX><STX>[TK3]<ETX>

If Single Message:

<STX>[TK1][TK2][TK3]<ETX>

<ENTER> Key Options

The <ENTER> key options may be required for cash registers but not for PCs. They provide
flexibility for cash register applications where the <ENTER> key may be relocated from its
original position to a new position on the keyboard. The original position is called the default
position and the new position is called is called the custom position. The MICR Reader must know
whether a default or custom position is being used to properly emulate the pressing of the
<ENTER> key after reading a check or a card.

Advertising