Micr Parsing; Define Parsing Format, Save In Nvram; Define Parsing Format, Do Not Save Permanently; Parsing Parameter String Options - CognitiveTPG A776 ColorPOS Programming Manual

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

Advertisement

112
Chapter 5: Programming commands

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.
d1 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
Transit number
Bank number
Check digit
Account number
Check serial number
Amount
Variable length field
optional modifiers
Zero fill to length
Maximum length
Remove space/dash
Replace space/dash with 0
Examples of variable length field format specifications
Account #, all characters in the field, keep spaces and dashes
Account #, all characters in the field, replace spaces and dashes
Account #, maximum 12 characters, keep spaces and dashes
Account #, always 12 characters zero filled, remove spaces and dashes
Continued . . .
A776 (B780) Programming Guide
Selector
Comments
T
Full 9-digit routing/transit number
B
Digits 4–8 of transit number
D
Digit 9 of transit number
A
C
Separate from account number
$
This field may not be present or readable
Selector
Comments
0
ASCII zero preceding maximum length
nn
1- or 2-digit ASCII number
X
x
A
xA
12A
012XA
A776-PG00001 D 07/13

Advertisement

Table of Contents
loading

Table of Contents