① GS k m d1...dk NUL , ② GS k m n d1...dn
[Name]
Print bar code.
① ASCII
GS
k
[Format]
Hex
1D
6B
Decimal
29
107
② ASCII
GS
k
Hex
1D
6B
Decimal
29
107
[Range]
① 0 ≤m ≤6 (k and d depends on the bar code system used.)
② 65 ≤m ≤73 (n and d depends on the bar code system used.)
[Description]
Selects a bar code system and prints the bar-code.
m selects a bar ode system as follows :
m
Bar Code System Number of Characters
0
UPC-A
11 ≤k ≤12
1
UPC-E
11 ≤k ≤12
12 ≤k ≤13
2
JAN13(EAN13)
7 ≤k ≤8
3
JAN8(EAN8)
①
1 ≤k
4
CODE 39
5
ITF
1 ≤k (even number) 48 ≤d ≤57
6
CODABAR
1 ≤k
65 UPC-A
11 ≤n ≤12
11 ≤n ≤12
66 UPC-E
12 ≤n ≤13
67 JAN13(EAN13)
68 JAN8(EAN8)
7 ≤n ≤8
1 ≤n ≤255
69 CODE 39
②
1 ≤n ≤255 (even
70 ITF
number)
1 ≤n ≤255
71 CODABAR
72 CODE 93
1 ≤ n ≤255
73 CODE 128
1 ≤ n ≤255
GS r n
Transmit status.
[Name]
[Format]
ASCII
GS
V
n
Hex
1D
72
n
Decimal
29
114
n
[Range]
n = 1, 2, 49, 50
[Description]
Transmits the status specified by n as follows.
48
m
d1...dk
NUL
m
d1...dk
00
m
d1...dk
0
m
n
d1...dn
m
n
d1...dn
m
n
d1...dn
Remarks
48 ≤d ≤57
48 ≤d ≤57
48 ≤d ≤57
48 ≤d ≤57
48 ≤d ≤57,
65 ≤d ≤90, 32, 36, 37, 43, 45, 46, 47
48 ≤d ≤57,
65 ≤d ≤68, 36, 43, 45, 46, 47 ,58
48 ≤d ≤57
48 ≤d ≤57
48 ≤d ≤57
48 ≤d ≤57
48 ≤d ≤57,
65 ≤d ≤90, 32, 36, 37, 43, 45, 46, 47
d1 = dk = 42(1)
48 ≤d ≤57
48 ≤d ≤57,
65 ≤d ≤68, 36, 43, 45, 46, 47 ,58
0 ≤d ≤127
0 ≤d ≤127
GS v 0 m xL xH yL yH d1...dk
[Name]
Print raster bit image.
[Format]
ASCII
GS
V
0
Hex
1D
76
30
Decimal
29
118
48
0 ≤m ≤3, 48 ≤m ≤51
[Range]
0 ≤xL ≤255
0 ≤xH ≤255
0 ≤yL ≤255
0 ≤d ≤255
k = (xL + xH ×256) ×(yL + yH ×256) (k ≠0)
[Description]
Selects Raster bit-image mode. The value of m selects the mode, as follows :
m
Mode
Vertical Dot Density (DIP)
0, 48
Normal
180 DPI
1, 49
Double-width
180 DPI
2, 50
Double-height
90 DPI
3, 51
Quadruple
90 DPI
* xL, xH, select the number of data bits (xL + xH ×256) in the
horizontal direction for the bit image.
* yL, yH, select the number of data bits (yL + yH ×256) in the
vertical direction for the bit image.
GS w n
[Name]
Set bar code width.
[Format]
ASCII
GS
w
n
Hex
1D
77
n
Decimal
29
119
n
[Range]
2 ≤n ≤6
[Description]
Set the horizontal size of the bar code.
n specifies the bar code width as follows :
Module width for
n
multi-level bar code
Thin element width (mm)
2
0.282
0.282
3
0.423
0.423
4
0.564
0.564
5
0.706
0.706
6
0.847
0.847
* Multi-level bar codes are as follows :
UPC-A, UPC-E, JAN13(EAN13), JAN8(EAN8), CODE93, CODE128.
* Binary-level bar codes are as follows :
CODE39, ITF, CODABAR.
49
m
xL
xH
yL
yH
d1...dk
m
xL
xH
yL
yH
d1...dk
m
xL
xH
yL
yH
d1...dk
Horizontal Dot Density (DIP)
180 DPI
90 DPI
180 DPI
90 DPI
Binary-level bar code
Thick element width (mm)
0.706
1.129
1.411
1.834
2.258