Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 5: Programming commands116
A776 (B780) Programming Guide A776-PG00001 C 12/09
Examples of variable length eld format specications
Account #, all characters in the eld, keep spaces and dashes A
Account #, all characters in the eld, replace spaces and dashes xA
Account #, maximum 12 characters, keep spaces and dashes 12A
Account #, always 12 characters zero lled, remove spaces and dashes 012XA
Other parameters
Error number E One digit returned
0 Read OK
1 Read error: bad character, empty
eld invalid length,
check digit invalid
Status S Two digits returned
01 No MICR data
09 Mexican check
08 Canadian check
05 Error in transit number
07 Error in account number
04 Error in check serial number
10 Business or commercial check
11 Amount eld present
00 No error
Field separator ‘x
Field separator preceded by a single quote, so a eld separator of the letter A would be
sent as ‘A (0x27 0x41).
If a carriage return is specied as a separator (0x27 0x0D), a nal carriage return must still
terminate the parsing parameter string.
Country code Un One digit returned
n Returned if US check
nothing Returned if not US check
Country code Km One digit returned
m Returned if Canadian check
nothing Returned if not Canadian check
Check type L One digit returned
1 Personal check
2 Business or commercial check