GS h n
[Name]
Set bar code height.
[Format] ASCII GS h
n
Hex
1D 68 n
Decimal
29 104 n
[Range] 1
≤
n
≤
255
[Description] Set the height of the bar code.
n specifies the number of dots in the vertical direction.
•
GS k m d1... dk NUL
•
GS k m n d1... dn
[Name]
Print bar code.
[Format]
•
ASCII
GS
k
m
d1...dk NUL
Hex
1D
6B
m
d1...dk 00
Decimal 29
107
m
d1...dk 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 (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 code system as follows:
m Bar
Code
System
Number of Characters
Remarks
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 JAN8(EAN8)
7
≤
k
≤
8
48
≤
d
≤
57
4 CODE
39
1
≤
k
48
≤
d
≤
57, 65
≤
d
≤
90,32,
36,37,43,45, 46,47
5 ITF
1
≤
k (even number)
48
≤
d
≤
57
•
6 CODABAR
1
≤
k
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 JAN8(EAN8)
7
≤
n
≤
8
48
≤
d
≤
57
69
CODE 39
1
≤
n
≤
255
48
≤
d
≤
57, 65
≤
d
≤
90,32,
36,37,43,45, 46,47
d1 = dk = 42 (1)
70 ITF
1
≤
n
≤
255(even number) 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
GS r n
[Name]
Transmit status.