ESC/POS Command Manual
23
[Reference]
ESC $, ESC L, ESC W, ESC
\
, GS $, GS
\
ESC V
n
[Name]
Turn 90
°
clockwise rotation mode on/off
[Format]
ASCII
ESC
V
n
Hex
1B
56
n
Decimal
27
86
n
[Range]
0≤
n
≤1,48≤
n
≤49
[Description]
Turns 90
°
clockwise rotation mode on or off.
n
is used as follows:
n
Function
0, 48
Turns off 90˚ clockwise rotation mode
1, 49
Turns on 90˚ clockwise rotation mode
[Details]
When underline mode is turned on, the printer does not underline 90
°
clockwise-rotated
characters.
Double-width and double-height commands in 90
°
rotation mode enlarge characters in the
opposite directions from double height and double-width commands in normal mode.
This command affects printing in standard mode. However, the setting is always effective.
[Default]
n
= 0
[Reference]
ESC !, ESC –
ESC W
xL xH yL yH dxL dxH dyL dyH
[Name]
Set printing area in page mode
[Format]
ASCII
ESC
W
xL xH yL yH dxL dxH dyL dyH
Hex
1B
57
xL xH yL yH dxL dxH dyL dyH
Decimal
27
87
xL xH yL yH dxL dxH dyL dyH
[Range]
0≤
xL xH yL yH dxL dxH dyL dyH
≤255 (except
dxL=dxH=0 or dyL=dyH=0
)
[Description]
The horizontal starting position, vertical starting position, printing area width,
and printing area height are defined as x0, y0, dx, dy,
respectively.
Each setting for the printable area is calculated as follow:
x0 = [(xL + xH x 256) x (horizontal motion unit)]
y0 = [(yL + yH x 256) x (vertical motion unit)]
dx = [(dxL + dxH x 256) x (horizontal motion unit)]
dy = [(dyL + dyH x 256) x (vertical motion unit)]