CSN-A1 user manual
56
command and sending status, depending on the status of the receiving
buffer.
When Auto Status Back (ASB) is enabled using GS a, the status
transmitted by GS r and the ASB status must be differentiated using.
The status types to be transmitted are shown as below:
Paper sensor status (n = 1, 49):
Bits 2 and 3: When the paper end sensor detects the paper end, the
printer goes offline and does not execute this command. Therefore, bits 2
and 3 do not transmit the status of paper end.
Bit Off/On Hex
Decima
l
Status for ASB
0,1 -
-
-
Undefined.
2,3 Off
00
0
Paperend sensor: paper adequate.
On
(0C)
(12)
Paperend sensor: paper near end.
4
Off
00
0
unused. fixed to be Off.
5,6 -
-
-
Undefined.
7
Off
00
0
unused. fixed to be Off.
Example
None
Transit theprinter status to host
Name
Transit the printer status to host
Code
ASCII
:
GS v
DEC
:
27 118
HEX
:
1B 76
Function
transit a byte printer status to host.
Only works in serial printer.
Send bytes are defined as follows
:
byte
function
number
0
1
2
No paper
1
3
Printer failure
1
4
0
0
5
6
The heating plate is overheated
1
7