Cognitive Solutions A776, B780 manual Sample parsing formats, Continued, Programming commands 117

Models: B780 A776

1 192
Download 192 pages 23.55 Kb
Page 129
Image 129
Chapter 5: Programming commands  117

Chapter 5: Programming commands  117

Sample parsing formats

The following strings show various sample formats that you can use assuming they meet your parsing format needs. Included with the sample format is a description of the data that is returned to the application.

ESC w p 18 A <CR>

Maximum 18 characters in the account number

Final carriage return

ESC w p 18 X A <CR>

Maximum 18 characters in the account number with spaces and dashes removed

Final Carriage Return

ESC w p 18 x A <CR>

Maximum 18 characters in the account number with spaces and dashes replaced with 0

Final carriage return

ESC w p 018 A <CR>

Always 18 characters in the account number (high order zero-filled if necessary)

Final carriage return

ESC w p 018 X A <CR>

Always 18 characters in the account number with spaces and dashes removed

Final carriage return

ESC w p 018 x A <CR>

Always 18 characters in the account number with spaces and dashes replaced with 0

Final Carriage Return

ESC w p T 18 X A 04C <CR>

All characters in the transit number

All characters in the account number (up to 18) with spaces and dashes removed

Always four characters in the check number (zero-filled if check number is only three characters long)

Final carriage return

ESC w p K9 X T 18 X A 04C <CR>

U.S. check: all nine characters in the transit number (because there are no dashes)

Canadian check: dash in transit number removed; “9” inserted at beginning, resulting in a fully numeric nine character transit number

All characters in the account number (up to 18) with spaces and dashes removed

Always four characters in the check number (zero-filled if check number is only three characters long)

Final carriage return

Continued . . .

A776-PG00001 C 12/09

A776 (B780) Programming Guide

Page 129
Image 129
Cognitive Solutions A776 Sample parsing formats, Continued, Programming commands 117, ESC w p 18 A CR, ESC w p 18 X A CR