- 59 -
GS r n
[Function]
Sending status
[Code]
<1D>H<72>H<n>
[Range]
n=1,49
[Outline]
Sends the specified status to the host.
n Function
1, 49
Sends the Paper Sensor status.
[Caution]
• When the serial interface is used:
For DTR/DSR control:
The printer sends the status after verifying that the host is ready to receive. If the
host is not ready to receive, the printer waits for the host to become ready to
receive.
For XON/XOFF control:
The printer sends the status without checking whether the host is ready to receive
or busy.
• Because this command is executed when data is mapped in the receive buffer, there
may be a delay between receiving the command and sending the status depending
on the condition of the receive buffer.
• If ASB (Automatic Status Back) is enabled by GS a, the host must discriminate
between the status due to this command and the status due to ASB.
• Paper Sensor status (n = 1, 49)
Bit
Status
Hex.
Decimal
Paper found by Paper Near-end Sensor
00
0
0, 1
Paper not found by Paper Near-end Sensor
03
3
Paper found by Paper-end Sensor
00
0
2, 3
Paper not found by Paper-end Sensor
(0C)
(12)
4
Unused
00
0
5
Undefined
—
—
6
Undefined
—
—
7
Unused
00
0
Bits 2, 3: Whenever the Paper-end Sensor detects a “paper out” state, the printer
goes offline, and the command is not executed. Therefore, the printer never
sends a status “No paper in Paper-end detector (0CH)”
[See Also]
Appendix 4.3 “Identification of Send Status”
DLE EOT, GS a
Содержание BD2-2220
Страница 1: ...Command Reference LINE THERMAL PRINTER MODEL BD2 2220 Rev 0 00 Issued on 2006 8 4...
Страница 2: ...REVISION Rev No Date Comment 0 00 2006 08 04 Newly issued...
Страница 71: ...69 Print Results No HRI characters Printed above Printed below Printed above and below 1 2 1 2 1 2 1 2...
Страница 126: ...124 3 1 10 Codepage 00H to 7FH PC864 Arabic...
Страница 128: ...126 3 1 12 Codepage 00H to 7FH Thai Code 18...