41
[Format]
①
ASCII
GS
k
m d1...d k NUL
Hex
1D
6B
m d1...d k 00
Decimal
29
107
m d1...d k 0
②
ASCII
GS
k
m n
d1... dn
Hex
1D
6B
m n
d1... dn
Decimal
29
107
m n
d1... dn
[Range]
①
0 ≤ m ≤ 6 (Value range of k and d is decided by its type)
②
65 ≤ m ≤ 73 (Value range of k and d is decided by its type)
[Description] Selecting a kind of barcode and printing
m is used to select type of barcode, as follows:
m
Barcode type
Number of
character
d
①
0
UPC-A
11 ≤ k ≤ 12
48 ≤ d ≤ 57
1
UPC-E
11 ≤ k ≤ 12
48 ≤ d ≤ 57
2
JAN13 (EAN13) 12 ≤ k ≤ 13
48 ≤ d ≤ 57
3
JAN 8 (EAN8)
7 ≤ k ≤ 8
48 ≤ d ≤ 57
4
CODE39
1 ≤ k ≤ 255
45 ≤ d ≤ 57, 65 ≤ d ≤ 90, 32, 36, 37,43
5
ITF
1 ≤ k ≤ 255
48 ≤ d ≤ 57
6
CODABAR
1 ≤ k ≤ 255
48 ≤ d ≤ 57, 65 ≤ d ≤ 68, 36, 43,
45,46,47,58
②
65
UPC-A
11 ≤ n ≤ 12
48 ≤ d ≤ 57
66
UPC-E
11 ≤ n ≤ 12
48 ≤ d ≤ 57
67
JAN13 (EAN13) 12 ≤n ≤ 13
48 ≤ d ≤ 57
68
JAN 8 (EAN8)
7 ≤n ≤ 8
48 ≤ d ≤ 57
69
CODE39
1 ≤ n ≤ 255
45 ≤ d ≤ 57, 65 ≤ d ≤ 90, 32, 36, 37,43
d1 = dk = 42
70
ITF
1 ≤ n≤ 255
48 ≤ d ≤ 57
71
CODABAR
1 ≤ n≤ 255
48 ≤ d ≤ 57 65 ≤ d ≤ 68, 36, 43,45,46,47
58
72
CODE93
1 ≤ n≤ 255
0 ≤ d ≤ 127
73
CODE128
2 ≤ n≤ 255
0 ≤ d ≤ 127
[Note
①
]
·This command is ended by NULL under this format
·When selecting code of UPC-A or UPC-E, after receiving 12 bytes data, printer will
handle the rest as normal character
·When selecting type of JAN13(EAN13), after receiving13 bytes data, printer will
handle the rest as normal character
·When selecting type of JAN8(EAN8), after receiving 8 bytes data, printer will
handle the rest as normal character
·Number of ITF code data must be a even number. If entering code data of odd
number, the last data will be ignored
[Note
②
]
·N is used to appoint the number of pointing barcode data. The printer will handle
then byte data follow as barcode data