— 85 —
GS r n
[Function]
Sending status
[Code]
<1D>H<72>H<n>
[Range]
n = 1, 49
[Outline]
Sends the Paper Sensor status to the host.
[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
Bit
Status
Hex.
Decimal
0,1
Paper found by Paper Near-end Sensor
00
0
Paper not found by Paper Near-end Sensor
03
3
2,3
Paper found by Paper end Sensor
00
0
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. The printer, therefore, never sends a
status where bit 2 = “1” or bit 3 = “1”.
[See Also]
DLE EOT, GS a,
Содержание BD2-1220
Страница 2: ...REVISION Rev No Date Content Rev 1 00 Jun 10th 2001 First created ...
Страница 64: ... 62 Printed above and below Print Results No HRI characters Printed above Printed below ...
Страница 100: ... 98 yL yH 256 8dots 768dots Example When xL 64 xH 0 yL 96 yH 0 xL xH 256 8dots 512dots ...