Citizen BD2-1220 Command Reference Manual page 87

Control board for lt122x/132x
Hide thumbs Also See for BD2-1220:
Table of Contents

Advertisement

GS r n
[Function]
[Code]
[Range]
[Outline]
[Caution]
[See Also]
Sending status
<1D>H<72>H<n>
n = 1, 49
Sends the Paper Sensor status to the host.
• 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
Bit
Paper found by Paper Near-end Sensor
0,1
Paper not found by Paper Near-end Sensor
Paper found by Paper end Sensor
2,3
Paper not found by Paper end Sensor
4
Unused
5
Undefined
6
Undefined
7
Unused
Bits 2, 3: Whenever the Paper end Sensor detects a "paper out"
state, the printer goes offline, and the command is
not executed. The printer, therefore, never sends a
status where bit 2 = "1" or bit 3 = "1".
DLE EOT, GS a,
— 85 —
Status
Hex.
Decimal
00
0
03
3
00
0
(0C)
(12)
00
0
00
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bd2-1221

Table of Contents