
--------------
THERMAL RECEIPT PRINTER-
------------
25
set by
ESC W
.
•
Parameters for horizontal or vertical motion units ( x or y) differ as follows,
depending on the starting position of the printing area:
①
If the starting position is the upper left or lower right of the printing area, data
is buffered in the direction perpendicular to the paper feed direction:
Commands using horizontal motion units:
ESC SP
,
ESC $
,
ESC \
Commands using vertical motion units:
ESC 3
,
ESC J
,
GS $
,
GS \
②
If the starting position is the upper right or lower left of the printing area, data
is buffered in the paper feed direction:
Commands using horizontal motion units:
ESC 3
,
ESC J
,
GS $
,
GS \
Commands using vertical motion units:
ESC SP
,
ESC $
,
ESC \
[Default] n = 0
[Reference]
ESC $
,
ESC L
,
ESC W
,
ESC \
,
GS $
,
GS P
,
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/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]
•
This command affects printing in standard mode. However, the setting is
always effective.
•
When underline mode is turned on, the printer does not underline 90
°
clockwise-rotated.
•
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.
[Default] n = 0
[Reference]
ESC !, ESC
−
ESC W xL xH yL yH dxL dxH dyL dyH (*)
[Name] Set printing area in page mode
[Format] ASC II 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 (inch), dy (inch), respectively.
Each setting for the printing area is calculated as follows: