ProgrammerManual PTX‐S828
Chapter3ANSIEmulationCommands 86 260071‐001A
Barcode Functions
ESC [ p1; pn }
Sets bar code parameters (BC).
ASCII Code ESC [ p1; pn }
Hexadecimal Value X'1B' X'5B' p1 X'3B' pn X'7D'
Decimal Value 27 91 p1 59 pn 125
This command allows selection of the bar code characteristics such as style height, symbol rotation and so
on. The command ESC [3 t enables the bar code mode while ESC [0 t disables the mode.
p1: Bar code style
p1 FUNCTION
0 Interleaved 2 of 5
1 Bidirectional 2 of 5
2 Matrix 2 of 5
3 Industrial 2 of 5
4 Code 3 of 9 (default)
5 EAN-8
6 EAN-13
7 Code 11
9 Codabar (default start/stop = a/t)
10 Codabar (default start/stop = b/n)
11 Codabar (default start/stop = c/*)
12 Codabar (default start/stop = d/e)
13 UPC-A
14 UPC-E
15 Code 93
16 Code 128 (subset A, B and C)
17 Code 128 (subset A, B and C)
18 Code 128 (subset A, B and C)
19 MSI
20 UPC 2 Supplemental
21 UPC 5 Supplemental
22 EAN 2 Supplemental
23 EAN 5 Supplemental
50 Postnet
p2: Barcode Height
p2 FUNCTION
1 Minimum bar code height (1/12 inch)
120 Maximum bar code height (10 inches)
12 Default bar code height (1 inch)
p3: Human Readable Input (HRI)
p3 FUNCTION
0 Disables printing of the HRI
1 Enables printing of the HRI (default)
p4: Narrow Bar
Default width value: 2 (120, 144 and 180 dpi)
p5: Wide Bar Width
Default width value: 3 (120, 144 dpi), 4 (180 dpi)
p6: Narrow Space Width
Default width value: 6 (120, 144 and 180 dpi)