US Postnet Barcode
US Postnet Barcode ESC [ 1 SP p
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 inter-
preted 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.
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~"
42 US Postnet Barcode