27
ESC c 8 +/- n
Adjustment of partial cut
Format:
ASCII :
ESC c
8
+/-
n
Decimal :
27
99
56 43/45 n
Hexadecimal :
1B 63
38 2B/2D n
Explanation:
u
0
<
n
<
32
u
Adjustment of the depth of the partial by n x 0.125mm.
ESC p m n1 n2
Control Cash Drawer
Format:
ASCII :
ESC p
m n
1
n
2
Decimal :
27 112 m n
1
n
2
Hexadecimal :
1B 70
m n
1
n
2
Explanation:
This command is to generate a pulse to trigger the opening of the cash drawer.
n1 and n2 define the duration of the trigger pulse.
m=0, 0<n1<n2
≦
255.
n1
×
2ms is the pulse width for opening of drawer. n2
×
2ms is the pulse width
in low level for closing of drawer.
Start printing positon
Cutting position
Feeding
12.5mm
28
Status of cash-drawer see ESC u command.
Button control commands
ESC c 5 n
On/Off switch button function
Format:
ASCII :
ESC c
5 n
Decima l :
27
99
53 n
Hexadecimal :
1B 63
35 n
Explanation:
When n=1, button [ ] is inactive, while n=0 button [ ] is active.
Defaul n=0.
Initialization commands
ESC @
Initialize printer
F
ormat:
ASCII :
ESC @
Decimal :
27
64
Hexadecimal :
1B 40
Explanation:
Initialize printer in the following aspects:
§
clear data in print buffer
§
reinstate printer default value
§
select character printing mode
§
clear user-defined characters