C O N F I D E N T I A L
Paper roll
Print position commands ESC W
Ver. 4.0
p. 1160
ESC W
[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 for
dxL
=
dxH
= 0 or
dyL
=
dyH
= 0)
[Default]
Horizontal logical origin and vertical logical origin= 0
xL
= 0,
xH
= 0,
yL
= 0,
yH
= 0
Printing area width and printing area height = entire printable area
TM-T88II
:
dxL
= 0,
dxH
= 2,
dyL
= 126,
dyH
= 6
TM-L60II
:
dxL
= 128,
dxH
= 1 (when thermal paper is selected)
dxL
= 112,
dxH
= 1 (when thermal label is selected)
dyL
= 126,
dyH
= 6
[Printers not featuring this command]
TM-U200B/D,
TM-U300A/B
[Description]
In page mode, sets the size and the logical origin of the printing area as follows:
•
Horizontal logical origin = (
xL
+
xH
×
256)
×
(horizontal motion unit) from absolute origin.
•
Vertical logical origin = (
yL
+
yH
×
256)
×
(vertical motion unit) from absolute origin.
•
Printing area width = (
dxL
+
dxH
×
256)
×
(horizontal motion unit)
•
Printing area height = (
dyL
+
dyH
×
256)
×
(vertical motion unit)
[Notes]
■
Both printing area width and height cannot be set to 0.
■
The absolute origin is the upper left of the printable area.