Chapter 5: Programming commands
112
A776 (B780) Programming Guide
A776-PG00001 D 07/13
MICR parsing
This section describes MICR parsing in detail and includes several examples of useful parsing variations. It also
describes how to create a parsing format and how to create and maintain an exception table.
Define parsing format, save in NVRAM
ASCII
:
ESC w P
d1 d2 … dn CR
Hexadecimal
: 1B 77 50
d1 d2 … dn 0D
Decimal:
27 119 80
d1 d2 … dn 13
Defines and saves parsing format. See parsing parameter string options in this document. Send with this command
the parse data that is to be the default parse string at printer power-up. If no parameters are selected, parsing is not
performed.
d
1 through
dn
are the parse string. The string must be CR terminated. If the string has invalid characters in it or is too
long, the printer will store a null string, and unparsed MICR data will be returned.
Define parsing format, do not save permanently
ASCII
ESC w p
Hexadecimal
1B 77 70
Decimal
27 119 112
Defines, but does not save parsing format. See parsing parameter string options in this document. Send as often as
desired to change the previous parse format string.
If no parameters are selected, parsing is not performed.
Same parameters as 1B 77 50....
Parsing parameter string options
Variable length fields
Variable length field name
Selector
Comments
Transit number
T
Full 9-digit routing/transit number
Bank number
B
Digits 4–8 of transit number
Check digit
D
Digit 9 of transit number
Account number
A
Check serial number
C
Separate from account number
Amount
$
This field may not be present or readable
Variable length field
Selector
Comments
optional modifiers
Zero fill to length
0
ASCII zero preceding maximum length
Maximum length
nn
1- or 2-digit ASCII number
Remove space/dash
X
Replace space/dash with 0
x
Examples of variable length field format specifications
Account #, all characters in the field, keep spaces and dashes
A
Account #, all characters in the field, replace spaces and dashes
xA
Account #, maximum 12 characters, keep spaces and dashes
12A
Account #, always 12 characters zero filled, remove spaces and dashes 012XA
Continued . . .
Summary of Contents for A776 ColorPOS
Page 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 172: ...Code page 1255 Hebrew...
Page 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Page 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 179: ......
Page 180: ...A776 PG00001 Rev D 07 2013...