Olivetti PR 4 Programmer's Manual page 64

Impact printer
Table of Contents

Advertisement

ESC u n
Transmit peripheral device status
Hexadecimal code: 1B 75 n
n = 0; 48
Range:
Transmits the status of drawer kick out connector pin 3 upon receiving this command.
Notes: -
When the connector is not used, the value of bit 0 is always 1.
-
When DTR/DSR control is selected, the printer transmits only one byte after confirming
that 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 keeps waiting until the host is
ready. When XON/XOFF control is selected, the printer transmits only one byte without
checking the DSR signal.
-
This command is executed when the data is processed in the receive buffer. Therefore,
there may be a time lag between receiving the 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 ESC u and
the ASB status must be differentiated.
-
If n is out of the specified range, this command is ignored.
-
The status to be transmitted is shown in the table below:
Bit
Off/On
Hex
0
Off
00
On
01
1-3
On
02
4
Off
00
5,6
-
-
7
Off
00
References: DLE EOT, GS ENQ, GS a, GS r
ESC v
Transmit paper sensor status
Hexadecimal code: 1B 76
Transmits the current paper sensor status.
Notes: -
When DTR/DSR control is selected, the printer transmits only one byte after confirming that
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 keeps
waiting until the host is ready. When XON/XOFF control is selected, the printer transmits
only one byte without checking the DSR signal.
-
The 1 byte status data is transmitted after printing and paper feed operation completely
stop(transmit timing differs from ESC u, GS I, and GS r).
4-28
Decimal
Function
0
Level of pin 3 is LOW.
1
Level of pin 3 is HIGH.
2
Undefined
0
Not used. Fixed to On.
-
Undefined.
0
Not used. Fixed to Off.
Epson TM-U950 Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents