Unisys EFP9800 manual Sample Parsing Formats, ESC w p 18 a CR, ESC w p 18 X a CR

Models: EFP9800

1 268
Download 268 pages 37.93 Kb
Page 245
Image 245

MICR Commands and Parsing

Ten parameters are more than enough to specify all variable length fields with a field separator each and other status information that may be helpful to an application. More than 10 parameters are not recommended because they use up space in non-volatile memory (NVRAM) available for the exception table.

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

3255 4073–002

11–5

Page 245
Image 245
Unisys EFP9800 manual Sample Parsing Formats, ESC w p 18 a CR, ESC w p 18 X a CR