Sample Parsing Formats - NCR 7156 Owner's Manual

Thermal receipt and impact slip (rs232)
Hide thumbs Also See for 7156:
Table of Contents

Advertisement

7156 Owner's Guide
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>
ESC w p 18 X A <CR>
ESC w p 18 x A <CR>
ESC w p 018 A <CR>
ESC w p 018 X A <CR>
ESC w p 018 x A <CR>
ESC w p T 18 X A 04C <CR>
ESC w p K9 X T 18 X A 04C <CR>
Maximum 18 characters in the account number
Final Carriage Return
Maximum 18 characters in the account number with spaces and dashes removed
Final Carriage Return
Maximum 18 characters in the account number with spaces and dashes replaced
with 0
Final Carriage Return
Always 18 characters in the account number (high order zero-filled if necessary)
Final Carriage Return
Always 18 characters in the account number with spaces and dashes removed
Final Carriage Return
Always 18 characters in the account number with spaces and dashes replaced with 0
Final Carriage Return
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
U.S. check: all nine characters in the transit number (because there are no dashess)
September 1997
Chapter 6: Commands
105

Advertisement

Table of Contents
loading

Table of Contents