Micr parsing – CognitiveTPG B780 User Manual

Page 127

Advertising
background image

Chapter 5: Programming commands 115

A776-PG00001 C 12/09

A776 (B780) Programming Guide

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.

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

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

Advertising
This manual is related to the following products: