Xiamen Cashino Technology Co.,Ltd
A2L User Manual
40
the printer will wait until the host is ready.
When XON/XOFF control is selected, the printer transmits only 1 byte
without confirming the status of the DSR signal.
This command is executed when data is generated in the print
buffer.Therefore, there may be a time interval between receiving the
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
Real-time transmission status
Name
Real-time transmission status
Code
ASCII
:
DLE EOT n
DEC
:
16 4 n
HEX
:
10 04 n
Function
According to below parameters, transit the real-time status of
printer,n stands for printer status:
N=1:transmit printer status
N=2:transmit off-line status