Model
Rev.
Page
HMK-056
Ver1.01
64
8-2) Commands for Ticket Mode
1) ESC+’W’+x1+x2+x3+x4+y1+y2+y3+y4
[Function]
Set the coordinate of printing area in page mode
[Format]
ASCII
ESC
W
x1 x2 x3 x4 y1 y2 y3 y4
Hex
1B
57h
x1 x2 x3 x4 y1 y2 y3 y4
Decimal
27
87
x1 x2 x3 x4 y1 y2 y3 y4
[Range]
‘0’≤x1≤’9’ ( 1000 digit ) ‘0’≤y1≤’9’ ( 1000 digit )
‘0’≤x2≤’9’ ( 100 digit )
‘0’≤y2≤’9’ ( 100 digit )
‘0’≤x3≤’9’ ( 10 digit )
‘0’≤y3≤’9’ ( 10 digit )
‘0’≤x4≤’9’ ( single digit ) ‘0’≤y4≤’9’ ( 1 digit )
[Description]
Specify the coordinate of printing area
Horizontal starting point : (x1×1000+x2×100+x3×10+x4×1) × 0.125mm
Vertical starting point : (y1×1000+y2×100+y3×10+y4×1) × 0.125mm
[Caution]
The maximum printing width is 56mm and the maximum printing length is 150mm.
x,y is designated as four digits each, and if less than 1000, fill the front digit with
zero.
Note that the value of x,y is String , not Decimal or Hex.
For example, if you specify coordinates (430,1200), be aware that they are '0430'
and '1200'.
ESC T-command can be set to n=1 or 3.
(Ex)
FEEDING
P
a
ss
Che
c
k
S
eat
:
Bu
il7
B3
x
x
x
x
x
y
y
Refun
d or
E
x
c
ha
ng
e
B
y
30
mi
n
ag
o
T
ha
nk
y
ou
.
y