ESC/POS Command Manual
33
00
0
1 (normal)
00
0
1 (normal)
10
16
2 (double-width)
01
1
2 (double-height)
20
32
3
02
2
3
30
48
4
03
3
4
40
64
5
04
4
5
50
80
6
05
5
6
60
96
7
06
6
7
70
112
8
07
7
8
[Details]
This command is effective for all characters (except for HRI characters).
If
n
is outside of the defined range, this command is ignored.
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
[Reference]
ESC !
GS $
nL nH
[Name] Set absolute vertical print position in page made
[Format]
ASCII
GS $
nL nH
Hex
1D 24
nL nH
Decimal
29 36
nL nH
[Range]
0
≤
nL
≤
255
, 0
≤
nH
≤
255
[Description]
Sets the absolute vertical print starting position for buffer character data in page mode.
This command sets the absolute print position to [ (
nL + nH
×
256)
×
(vertical or horizontal motion
unit)] inches.
If the [ (
nL + nH
×
256)
×
(vertical or horizontal motion unit)] exceeds the
specified printing area, this command is ignored.
The horizontal starting buffer position does not move.
The reference starting position is that specified by ESC T.
This command operates as follows, depending on the starting position of the printing area
specified by ESC T:
When the starting position is set to the upper left or lower right, this
①
command sets the absolute position in the vertical direction.
When the starting position is set to the upper right or lower left, this
②
command sets the absolute position in the horizontal direction.
[Reference]
ESC $, ESC T, ESC W, ESC
\
, GS
\