41
Printer operating status report command 2/ ESC~Y
[ASCII]
ESC
~
Y
[Decimal] 27
126
89
[Hexadecimal] 1B 7E 59
[Description]
●
When using this command, set the printer operating status return control to enable in the internal setting of
the printer.
●
On receiving this command, the printer prints out the data in the buffer and outputs its operation status.
●
Data to be returned are 2 bytes and are FBh + content (30h to 3Fh).
Setting
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Paper-in 0
Paper-out 1
Printing
0
Printing complete
1
Printer head temperature
normal
0
Printer head temperature
abnormal
0 0 1 1
0
1
●
When the receiving buffer of the printer becomes full, communication will be temporary halted. Since printing will not
be executed in case of an error such as paper-out, the receive buffer becomes full in a short time, which may lead to a
temporary communication halt. In such a case, the host may not be able to send this command to the printer.*
●
Printing operation indicates the printer is in either state where unprinted data exist in the buffer, data are being decoded
in the page memory, or data are being actually printed on a paper.
●
Completion of printing indicates that any unprinted data does not exist and data are not being printed on a paper.
●
When using this command, do not send the command and printing data at the same time. Whenever
possible, execute each command separately.
*
●
In PD24, since receive data are not analyzed under offline status such as paper-out, the printer monitors and returns the
printer operating status report command at data receive level. Therefore, when the printer status return control is set to
enable in the internal setting of the printer, and if data, such as a bit image, contains a character sequence which is the
same as the printer operating status request command, the printer may identify the data as this command and return the
data. Since character sequences identified as the printer operating status report command are directly sent to the receive
data analysis part, these data will not be lost.
●
During infrared communication, printer status is returned within the infrared connection at the time of
receive of the printer operating status report command. When the connection with the other station is
disconnected, printer status return data are cleared.
●
During printing operation, receive contents may not be completely real time. Make judgments from several
ESC~Y return contents.
Summary of Contents for PD-24
Page 6: ...6 Citizen original command ...
Page 53: ...53 ESC P Emulation Command ...
Page 106: ...106 HT 64 LF 54 SI 77 SO 78 VT 65 ...
Page 127: ......