![Custom Audio Electronics KM216H Command Reference Manual Download Page 33](http://html1.mh-extra.com/html/custom-audio-electronics/km216h/km216h_command-reference-manual_2700586033.webp)
$1D $65
Printers: KPM216H
[Name]
Ejector commands
[Format]
ASCII
GS
e n m
Hex
1D
65
n
m
Decimal
29
101
n
m
[Range] 1
≤
n
≤
6
[Description]
This command checks tickets ejector
n = 1
n = 2 Ticket retracted (only if Paper retracting is enabled)
n = 3 Ticket produced with m steps (1 step = 6.5 mm)
n = 4
n = 5 Ticket ejection
n = 6 Transmit the status byte of the ejector
BIT
OFF / ON
HEX
Decimal
FUNCTION
0
Off
00
0
Paper present in abundance
On
01
1
Near paper end
1
-
-
-
RESERVED
2
Off
00
0
Paper end sensor (paper not present)
On
04
4
Paper end sensor (paper present)
3
Off
00
0
Ticket not present on the output
On
08
8
Ticket present on the output
4
Off
0
Printer’s stepper motor off
On
16
Printer’s stepper motor on
5
Off
00
0
Emitter motor off
On
20
32
Emitter motor on
6
Off
00
0
Not error
On
40
64
Error
7
Off
00
0
Free paper route
On
80
128
Paper jam
[Notes]
m must be sent with n = 3;
with n = 3 if the ticket is not yet cut, before to perform the command, the printer made a
total cut.
[Default]
[Reference]
[Example]
The correct commands sequence to print a ticket is:
1. Clear dispenser
Ejection (Hex : 1D 65 05) or Retraction
2. Prints ticket
3. Cuts paper
Total cut (Hex : 1B 69)
4.
Dispenser
Presents ticket with
≈
80mm (Hex : 1D 65 03 1E)
ESC/POS™ Emulation
Command Reference
33
Summary of Contents for KM216H
Page 44: ...ESC POS Emulation 44 Command Reference...
Page 46: ...Commands Index 46 Command Reference...
Page 47: ......