57 / 65
Page
Mechatro, INC
.
USER MANUAL
V1.2
MTP-2100
GS h
n
[Name]
Select bar code height
[Format] ASCII
GS
h
n
Hex
1D
68
n
Decimal
29
104
n
[Range]
1
≤
n
≤
50
[Description]
Select the height of the bar code.
N
specifies the number of dots in the vertical direction.
[Default]
n
= 50
[Reference]
GS k
GS k
m
d1…dk NUL
[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
[Range]
0
≤
m
≤
6 (d and k 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
Number of Characters
Remarks
0
UPC-A
k = 11
48
≤
d
≤
57
1
UPC-E
k = 11
48
≤
d
≤
57
2
EAN13
k = 13
48
≤
d
≤
57
3
EAN8
k = 8
48
≤
d
≤
57
4 CODE39
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
[Note]
This command ends with a NUL code.
The number of data for ITF bar code must be even numbers.
[Example]
Printing “GS k 5 49 50 51 52 53 54 55 56 0"