Chapter 11 Data Formats of Barcode Types

Example 4

Information

1

0

9

Remainder (1)

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

 

 

NOTE: The check number always lies between “0” and “3”; it is not printed in the HRI line.

US Postnet Barcode

Data Structure

ASCII ESC "["

"1"

SP

"p"

hex. 1B 5B 31 20 70

dec. 27 91 49 32 112

Description

After receiving this sequence numeric characters from 0 (hex. 30) to

9 (hex. 39) are interpreted as barcode figures. Other Alpha characters are ignored. Control characters from hex.00 (dec.9) to hex.1F (dec.31) terminates this barcode mode.

You may use this sequence in every emulation. The printer can print barcode in NLQ and LQ. If draft print quality (DPQ) is selected the printout is performed in NLQ.

NOTE: The character (e.g. CR = carriage return, hex. 0D), which terminates barcode mode will neither be printed nor carried out. A tab command (hex.09, dec.9) is carried out in this barcode.

10 REM US postnet barcode

20 LPRINT CHR$(27);"[?11~";

30LPRINT CHR$(27);"[1 p";"1234567";CHR$(13);

40LPRINT CHR$(27);"[?10~"

262

Page 262
Image 262
Tally Genicom 6600 manual US Postnet Barcode, Data Structure