
7156 Owner’s Guide
Chapter 6: Commands
September 1997
105
The parsing parameter string is stored packed in NVRAM starting at word 10, with the
total byte length stored in the high order byte of word 10. While most parameters take two
bytes of NVRAM, the following parameters take only one byte: B, D, E, S, L. None of the
parsing examples in the following section take more than 14 bytes (seven words) of
NVRAM.
The exception table starts at word 20. If the parsing parameter string extends into word 20,
then the first exception table entry is unavailable.
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 dashess)
Содержание 7156
Страница 1: ...BD20 1436 A Issue B September 1997 NCR 7156 Thermal Receipt and Impact Slip RS232 Owner s Guide...
Страница 6: ...Contents 7156 Owner s Guide September 1997 iv...
Страница 31: ...7156 Owner s Guide Chapter 2 Setting Up and Using the Printer September 1997 25 Sample Print Test...
Страница 38: ...Chapter 3 Solving Problems 7156 Owner s Guide September 1997 32...
Страница 118: ...Chapter 6 Commands 7156 Owner s Guide September 1997 112...
Страница 122: ...Appendix A Specifications 7156 Owner s Guide September 1997 116...
Страница 129: ...7156 Owner s Guide Appendix B Print Characteristics September 1997 123...
Страница 130: ...Appendix B Print Characteristics 7156 Owner s Guide September 1997 124...
Страница 136: ...Index 7156 Owner s Guide September 1997 6...