Micr Commands; Micr Reading; Read Micr Data And Transmit; Transmit Last Micr Read - CognitiveTPG A776 ColorPOS Programming Manual

Two-color thermal/impact hybrid printer
Hide thumbs Also See for A776 ColorPOS:
Table of Contents

Advertisement

MICR commands

MICR reading

These commands control the Magnetic Ink Character Recognition (MICR) check reader, including how it parses the
character strings on checks.
The section, MICR parsing, describes how to create a parsing format and how to create and maintain an exceptions
table.

Read MICR data and transmit

ASCII
ESC w 1
Hexadecimal
1B 77 01
1B 77 02 (B780 only) B780:
Decimal
27 119 1
Default:
All data returned
Reads and transmits the MICR data and adds a carriage return (0x0D). One status byte precedes the MICR characters.
If no parsing format is selected with either of the define parsing format commands (see below), all data will be
returned, which is the default.
Status
Good read, data follows
Bad read, data follows
No check present, no data
Paper jam, no data
No MICR characters, no data
MICR characters
ASCII
Numerics
0 ... 9
Unrecognized character
?
Space
Amount symbol
&
Dash symbol
'
"on us" symbol
(
Transit symbol
)

Transmit last MICR read

ASCII:
ESC w R
Hexadecimal: 1B 77 52
Decimal:
27 119 82
Resends the previously decoded MICR data (as if the parsing has not been defined) to the host. The return
data is defined in the "Read MICR data and transmit" command (1B 77 01) without parsing and presents the data from
the last MICR read since power-up or reset or indicates in the status that no read has yet occurred.
A776-PG00001 D 07/13
A776:
1B 77 01 = read & transmit MICR, position for endorsement
1B 77 01 = wait for check, read & transmit MICR, eject check
B780:
1B 77 02 = wait for check, read & transmit MICR, position for endorsement
Status byte value
0x00
0x01
0x02
0x03
0x04
Hexadecimal
0x30 ... 0x39
0x3F
0x20
0x26
0x27
0x28
0x29
Chapter 5: Programming commands
A776 (B780) Programming Guide
111

Advertisement

Table of Contents
loading

Table of Contents