Chapter 4: Programming Commands100 Revision D 12/09
A799-PG00001D
Values:
First variation: String terminated with NUL character. Length k is not specied in command string; it depends on the bar code being printed.
m Bar code d1...dk length
0 UPC-A 48–57 (ASCII numerals) Fixed length: 11, 12
1 UPC-E 48–57 Fixed length: 11, 12
2 JAN13 (EAN) 48–57 Fixed length: 12, 13
3 JAN8 (EAN) 48–57 Fixed length: 7, 8
4 Code 39 48- 57, 65- 90 (ASCII alphabet), 32, 36, 37, Variable length
43, 45, 46, 47 (ASCII special characters)
d1 = dk = 42 (start/stop code is supplied
by printer if necessary)
5 Interleaved 2 of 5 48–57 Variable length (even number)
6 Codabar 65–68, start code 48–57, 36, 43, 45, 46, 47, 58 Variable length
10 PDF 417 32–255 Variable length, maximum 1000 characters
Second variation: Length n specied at beginning of string. Except as noted, 0 < n < 256.
m Bar code d1...dn length
65 UPC-A 48–57 (ASCII numerals) Fixed length: 11, 12
66 UPC-E 48–57 Fixed length: 11, 12
67 JAN13 (EAN) 48–57 Fixed length: 12, 13
68 JAN8 (EAN) 48–57 Fixed length: 7, 8
69 CODE39 48–57, 65–90 (ASCII alphabet), 32, 36, 37, Variable length
43, 45, 46, 47 (ASCII special characters)
d1 = dk = 42 (start/stop code is supplied
by printer if necessar y)
70 Interleaved 2 of 5 (ITF) 48–57 Variable length (even number)
71 CODABAR (NW-7) 65–68, start code 48- 57, 36, 43, 45, 46, 47, 58 Variable length
72 Code 93 00–127 Variable length
73 Code 128 0–105 d1 = 103-105 (must be a start code) Variable length
d2 = 0–102 (data bytes) (Stop code is provided
by the printer)
74 Code 128 auto compress 00–255 Variable length
00–FF
75 PDF 417 0–255 Variable length
00–FF
78 Code EAN 128 auto compress 0–255 Variable length
00–FF
79 PDF 417 0–255 Variable length
00–FF 0 < n < 2800
data length specied via
integer n = nH:nL 1D 6B m nL nH d1 . . . dn
The value of m selects the bar code system as described in the table. The variable d indicates the character code to be encoded into the specied bar code system. If character code d cannot be encoded, the printer prints the bar code data processed so far, and the following data is treated as normal data.
Exceptions
Code 93 and PDF 417 are only available in A799 native mode.