REGO Thermal Printer Technical Manual
www.regotek.com
38
and transmission are possible at the first time from when the printer is turned on.
The following four status bytes are transmitted without confirming whether the host is ready to
receive data. The four status bytes must be consecutive, except for the XOFF code.
Since this command is executed after the data is processed in the receive buffer, there may be a
time lag between data reception and status transmission.
When using DLE EOT, or GS r, the status transmitted by these commands and ASB status must be
differentiated.
The status items to be transmitted are as follows:
First byte (printer information)
Bit
1/0
Hex
Decimal
Printer Status
0
0
00
0
Fixed value is 0
1
0
00
0
Fixed value is 0
2
0
00
0
Drawer kick-out connector pin 3 is LOW.
1
04
4
Drawer kick-out connector pin 3 is HIGH.
3
0
00
0
On-line.
1
08
8
Off-line.
4
1
10
16
Fixed value is 1
5
0
00
0
Cover is closed.
1
20
32
Cover is open.
6
0
00
0
Paper is not being fed by using the PAPER FEED
button.
1
40
64
Paper is being fed by using the PAPER FEED
button.
7
0
00
0
Fixed value is 0
Second byte (printer information)
Bit
1/0
Hex
Decimal
Printer Status
0
-
-
-
Undefined.
1
-
-
-
Undefined.
2
-
-
-
Undefined.
3
0
00
0
No auto cutter error.
1
08
8
Auto cutter error occurred.
4
0
00
0
Fixed value is 0
5
0
00
0
No unrecoverable error.
1
20
32
Unrecoverable error occurred.
6
0
00
0
No automatically recoverable error.
1
40
64
Automatically recoverable error occurred.
7
0
00
0
Fixed value is 0
Bit 5: If these errors occur due to paper jams or the like, it is possible to recover by correcting the
cause of the error and executing DLE ENQ n (1 ≤ n ≤ 2). If an error due to a circuit failure (e.g. wire
break) occurs, it is impossible to recover.
Bit 6:
is on when printing is stopped due to high print head temperature until the print head
temperature drops sufficiently or when the paper roll cover is opened during printing.
Third byte (paper sensor information)
Bit 1/0
Hex
Decimal
Printer Status
0, 1 0
00
0
Paper roll near-end sensor: paper adequate.
1
03
3
Paper roll near-end sensor: paper near end.
2, 3 0
00
0
Paper roll end sensor: paper present.