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
[Range] 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.
: Barcode or Graphic
Title Rev.
Page
HMK(P)-081,HMC-081 Ver1.0
48
ESC+FF
[Name]
Printing the page area.
[Format]
ASCII
ESC
FF
Hex
1Bh
0Ch
Decimal
27
12
[Description] It prints the page area all at once.
[Caution]
Please use the command ESC+S to clear the data,
Because the data is not deleted, after it printed.
Paper
Paper
EFGH
Standard line
Printing before
ABCD
(x,y) dx
moving
the standard line
Move the standard line
Printing Area
by CR or LF
dy
Printing after
EFGH
(x+dx,y+dy)
moving
the standard line
ABCD