PPTII-A Programming Manual
www.hprt.com
34
GS \ nL nH
[Name]
Set relative vertical print position in page mode
[Format]
ASCII
GS
\
nL nH
Hex
1D
5C
nL nH
Decimal 29
92
nL nH
[Range]
0 ≤ nL ≤ 255
0 ≤ nH ≤ 255
[Dscription]
move the vertical print starting position in page mode from the current position.
• This command moves the vertical print starting position in page mode to
[( nL + nH × 256) × 0.125mm] from the current position.
[Notes]
• This command is effective only in page mode, ignored in other modes.
• Print position moves downward: nL + nH × 256= N
,
Use the complement of N for setting pitch movement upward:
nL + nH × 256= 65536 – N.
• Any position out of the print area is ignored.
GS f n
[Name]
Select font for HRI characters
[Format]
ASCII
GS
f
n
Hex
1D
66
n
Decimal 29
102
n
[Range]
n = 0, 1, 48, 49
[Dscription]
• Selects a font for the HRI characters when printing a bar code.
n
Font for the HRI characters
0,48
Character font A (12 × 24)
1,49
Character font B (9 × 17)
[Notes]
HRI indicates Human Readable Interpretation.
HRI characters are printed using the font specified by GS H.
[Default]
n = 0
GS h n
[Name]
Select bar code height
[Format]
ASCII
GS
h
n
Hex
1D
68
n
Decimal
29
104
n
[Range]
1 ≤ n ≤ 255
[Dscription]
Selects the height of the bar code.
n specifies the number of dots in the vertical direction.
[Default]
n = 162
①
GS k m d1 d2
…
dk NUL
②
GS k m n d1 d2 … dn
[Name]
Print bar code
[Format]
① ASCII
GS
k
m d1 d2 … dk NUL
Hex
1D
6B
m d1 d2 … dk 00
Decimal
29
107
m d1 d2 … dk 0
② ASCII
GS
k
m n d1 d2 … dn
Hex
1D
6B
m
n d1 d2 … dn
Decimal
29
107
m n d1 d2 … dn
[Range]
①0 ≤ m ≤ 10
;
②65 ≤ m ≤ 75