Title
Rev.
Page
HMKP-830
Ver1.0
P.49
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
57h
xL xH yL yH dxL dxH dyL dyH
Decimal
27
87
xL xH yL yH dxL dxH dyL dyH
[Rnage]
0≤xL+xH×256≤65535 (0≤xL≤255, 0≤xL≤255)
0≤yL+yH×256≤65535 (0≤yL≤255, 0≤yL≤255)
1≤dxL+dxH×256≤65535 (0≤dxL≤255, 0≤dxL≤255)
1≤dyL+dyH×256≤65535 (0≤dyL≤255, 0≤dyL≤255)
[Initial Value]
(xL+xH×256)=0 (0mm, xL=0, xH=0)
(yL+yH×256)=0 (0mm, yL=0, yH=0)
(dxL+dxH×256)=448 (56mm, dxL=C0h, dxH=01h)
(dyL+dyH×256)=1200 (150mm, dyL=B0h, dyH=04h)
[Descript]
Set printing area & starting point.
Horizontal starting point : (xL+xH×256) × 0.125mm
Vertical starting point : (yL+yH×256) × 0.125mm
Horizontal size : (dxL+dxH×256) × 0.125mm
Vertical size : (dyL+dyH×256) × 0.125mm
[Caution]
The maximum page width is available 56mm
The maximum page length is available 150mm
Barcode & graphic data is executed as per standard line,
If the size exceed the standard line, move the standardline by CR or LF
Paper
(x,y) dx
Printing Area
dy
(x+dx,y+dy)
Paper
EFGH
ABCD
Move the standard line
By CR or LF
EFGH
ABCD
Standard line
: Barcode or Graphic
Printing before
moving
the standard line
Printing after
moving the
standard line