262
Chapter 11 Data Formats of Barcode Types

Example 4

NOTE: The check number always lies between “0” and “3”; it is not printe d in
the HRI line.
US Postnet Barcode
Data Structure
ASCII ESC "[" "1" SP "p"
hex.1B5B31 2070
dec.27914932 112
Description
After receiving this sequence numeric characters f rom 0 (hex. 30) to
9 (hex. 39) are interpreted as barcode figures. Other Alpha char acters are
ignored. Control characters from hex.00 (dec.9) to hex.1F (dec.31) termin ates
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 pr intout 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~";
30 LPRINT CHR$(27);"[1 p";"1234567";CHR$(13);
40 LPRINT CHR$(27);"[?10~"
Information 109
Remainder (1) 1