7167 Owner's Manual
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>
Canadian check: dash in transit number removed; "9" inserted at beginning, resulting in a fully
numeric nine character transit number
All nine characters in the transit number (because there are no dashes)
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
November 2002
Chapter 6: Commands
195