iDP3221 User’s Manual
103
CITIZEN
GS k m [d1 ..... dk] NUL
GS k m n [d1 ...... dn]
[Function] Printing the bar code
[Code] (1) <1D> H <6B> H <m> [d1.....dk] NUL
(2) <1D> H <6B> H <m><n> [d1....dn]
[Range] (1) 0 ≤ m ≤ 6 The definitions of "k" and "d" depend on the bar code system.
(2) 65 ≤ m ≤ 73 The definitions of "n" and "d" depend on the bar code system.
[Outline] Selects a bar code system and prints the bar code.
For (1):
m
Bar code system Range of "k" Range of "d"
0UPC-A
11≤k≤12 48≤d≤57
1UPC-E
11≤k≤12 48≤d≤57
2 JAN13 (EAN)
12≤k≤13 48≤d≤57
3 JAN8 (EAN)
7≤k≤848≤d≤57
4 CODE39
1≤k
48≤d≤57, 65≤d≤90
32, 36, 37, 43, 45, 46, 47
5ITF
1≤k (must be an even
number)
48≤d≤57
6 CODEBAR
1≤k
48≤d≤57, 65≤d≤68
36, 43, 45, 46, 47, 58
For (2):
m
Bar code system Range of "n" Range of "d"
65 UPC-A
11≤n≤12
48≤d≤57
66 UPC-E
11≤n≤12 48≤d≤57
67 JAN13 (EAN)
12≤n≤13 48≤d≤57
68 JAN8 (EAN)
7≤n≤848≤d≤57
69 CODE39
1≤n≤255
48≤d≤57, 65≤d≤90
32, 36, 37, 43, 45, 46, 47
70 ITF
1≤n≤255 (an even
number)
48≤d≤57
71 CODEBAR
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
[Caution] For (1):
• This command ends with a NUL code.
• For UPC-A or UPC-E, the bar code is printed when 12 bytes of bar code data has been
entered, and the subsequent data is handled as normal data.