Cognitive Solutions A776 All in One Printer User Manual


 
114
A776 (B780) Programming Guide A776-PG00001 C 12/09
Chapter 5: Programming commands
Formulas
The waiting time is t × 100 ms for every macro execution.
m species macro executing mode when the LSB (least signicant bit) m = 0
The macro executes r times continuously at the interval specied by t when the LSB (least signicant bit) of
m = 1.
Exceptions
If this command is received while a macro is being dened, the macro denition is aborted and the denition is
cleared.
If the macro is not dened or if r is 0, nothing is executed.
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 A776: 1B 77 01 = read & transmit MICR, position for endorsement
1B 77 02 (B780 only) B780: 1B 77 01 = wait for check, read & transmit MICR, eject check
B780: 1B 77 02 = wait for check, read & transmit MICR, position for endorsement
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 dene parsing format commands (see below), all data will be
returned, which is the default.
Status Status byte value
Good read, data follows 0x00
Bad read, data follows 0x01
No check present, no data 0x02
Paper jam, no data 0x03
No MICR characters, no data 0x04
MICR characters ASCII Hexadecimal
Numerics 0 ... 9 0x30 ... 0x39
Unrecognized character ? 0x3F
Space 0x20
Amount symbol & 0x26
Dash symbol 0x27
“on us” symbol ( 0x28
Transit symbol ) 0x29