PPTII-A Programming Manual
www.hprt.com
29
[Notes]
This command is effective for all characters (alphanumeric and Kanji), except for HRI
characters .
• If n is 0 to 3 beyond the specified range, the horizontal magnification is set to 6 times.
If n is 4 to 7 beyond the specified range, the horizontal magnification is set to 6 times.
In standard mode, the vertical direction is the paper feed direction, and the horizontal
direction is perpendicular to the paper feed direction. However,when character
orientation
changes in 90 clockwise-rotation mode, the relationship between vertical and horizontal
directions is reversed.
In page mode, vertical and horizontal directions are based on the character orientation.
When characters are enlarged with different sizes on one line, all the characters on the
line are aligned at the baseline.
The ESC ! command can also turn double-width and double-height modes on or off.
However, the setting of the last received command is effective.
[Default]
n = 0
GS $ nL nH
[Name]
Set absolute vertical print position in page mode
[Format]
ASCII
GS
$
nL nH
Hex
1D
24
nL nH
Decimal 29
36
nL nH
[Range]
0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255
[Dscription]
• Set absolute vertical print position in page mode.
•This command sets the absolute vertical print position at[( nL + nH × 256) × 0.125mm].
[Notes]
• This command is effective only in page mode.
• If [( nL + nH × 256) × 0.125mm] is outside the print area, it is ignored.
• The horizontal position is not changed after executing this command.
• Reference position depends on command ESC T
• The printer is processing depends on the differences between print area position and
the starting position:
① Starting position is top left or lower right corner, this command set the absolute
position at the direction parallel to the feed direction.
② Starting position is top right or lower left corner, this command set the absolute
position at the direction perpendicular to the feed direction.
GS ( A pL pH n m
[Name]
Execute test printing
[Format]
ASCII
GS
(
A
pL pH n
Hex
1D
28
4
pL pH n
Decimal
29
40
6
pL pH n
[Range]
( pL+( pH × 256))=2 (pL=2, pH=0)
0 ≤ n ≤ 2
,
48 ≤ n ≤ 50
1 ≤ m≤ 5
,
49 ≤ m ≤ 53
[Dscription]
• Execute test printing
,
the way of printing depends on n,m.
n determine the test paper type
n
Paper type
0, 48
Base type(paper roll)
1, 49
Paper roll
2, 50