Citizen CMP-20 — real-time Printer Status Transmission Explained [9/71]

Citizen CMP-20 [9/71] Real time status transmission
- 9 -
DLE EOT
[Name]
Real-time status transmission
ASCII DLE EOT
n
Hex 10 04
n
[Format]
Decimal 16 4
n
[Range]
1 n 4
[Description]
Transmits the selected printer status specified by n in real-time,
according to the following parameters:
n=1 : Transmit printer status
n=2 : Transmit off-line status
n=3 : Transmit error status
n=4 : Transmit paper roll sensor status
n=5 : MSR Status request
n=7 : Cancel card reader mode
[Details]
x The printer transmits the current status. Each status is represented by one-
byte data.
x The printer transmits the status without confirming whether the host
computer can receive data.
x The printer executes this command upon receiving it.
x This command is executed even when the printer is offline, the receive
buffer is full, or there is an error status.
x When Auto Status Back (ASB) is enabled using the GS a command, the
status transmitted by the DLE EOT command and the ASB status must be
differentiated.
[Notes]
n = 1: Printer status
Bit Off/On Hex Decimal Function
0 Off 00 0 Not used. Fixed to Off
1 On 02 2 Not used. Fixed to On
Off 00 0 2
On 04 4
Off 00 0 On-line 3
On 08 8 Off-line.
4 On 10 16 Not used. Fixed to On
5,6 - - - Undefined.
7 Off 00 0 Not used. Fixed to Off.

Содержание

Узнайте, как осуществляется передача статуса принтера в реальном времени. Подробности о командах и их значениях для различных состояний устройства.

Скачать