Epson TM-T85 Printer User Manual


 
5-54 Commands
Hex 1D 72
n
Decimal 29 114
n
[Range] 1
n
2, 49
n
50
[Description] Transmits the status specified by
n
as, follows:
[Notes] When DTR/DSR control is selected, the printer transmits only 1
byte after confirming the host is ready to receive data (DSR signal
is SPACE). If the host computer is not ready to receive data (DSR
signal is MARK), the printer waits until the host is ready.
When XON/XOFF control is selected, the printer transmits only 1
byte without confirming the condition of the DSR signal.
This command is executed when the data in the receive buffer is
developed. Therefore, there may be a time lag between receiving
this command and transmitting the status, depending on the
receive buffer status.
When Auto Status Back (ASB) is enabled using GS a, the status
transmitted by GS r and the ASB status must be differentiated.
The status types to be transmitted are shown below:
Paper sensor status (
n
= 1, 49):
Bits 2 and 3: When the paper roll end sensor detects a paper end, the printer goes
off-line and does not execute this command. Therefore, bits 2 and 3
do not transmit the status of paper end.
n
Function
1, 49 Transmits paper sensor status (same as ESC v)
2, 50 Transmits drawer kick-out connector status (same as ESC u 0)
Bit Off/On Hex Decimal Status for ASB
0Off 00 0
Paper roll near-end sensor.
Paper adequate.
1On 03 3
Paper near-end is detected by the paper roll
near-end sensor.
2Off 00 0
Paper end is not detected by the paper roll end
sensor.
3On
(0C) (12)
Paper end is detected by the paper roll end
sensor.
4 Off 00 0 Not used. Fixed to Off.
5 Off - - Undefined.
6 Off - - Undefined.
7 Off 00 0 Not used. Fixed to Off.