Olivetti PR 4 Programmer's Manual page 43

Impact printer
Table of Contents

Advertisement

DLE EOT n
Real-time status transmission
Hexadecimal code: 10 04 n
Range: n =1-5
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
Transmit slip paper status
-
The printer executes this command upon receiving it.
Notes:
-
When transmitting status, the printer transmits only one byte without confirming the
condition of the DSR signal.
-
This command is executed even when the printer is off-line, when the receive buffer is
full, or when an error occurs.
-
The status is transmitted whenever the data sequence of (10)H (04)H n (n=1-5) is
received. For example, in ESC * m nL nH [d]nL+ 256 x nH, d1=(10)H, d2=(04)H, d3=(1)
-
This command should not be used within the data sequence of another command that
consists of 2 or more bytes. For example, if you attempt to transmit ESC 3 n to the printer,
but DTR (DSR for the host computer) goes to MARK before n is transmitted and then DLE
EOT 4 interrupts before n is received, the code (10)H for DLE EOT 4 is processed as the
code for ESC 3 (10)H.
-
This code is unavailable when using the ESC = (Select peripheral device) to select the
printer to be disabled.
-
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.
-
If the value of n is out of the specified range, the printer ignores this command.
n=1: Printer status
Bit
Off/On
Hex
0
Off
00
1
On
02
2
Off
00
On
04
3
Off
00
On
08
4
On
10
5,6
-
-
7
Off
00
Epson TM-U950 Commands
Decimal
Function
0
Not used. Fixed to Off.
2
Not used. Fixed to On.
0
Drawer kick out signal is LOW (connector pin 3)
4
Drawer kick out signal is HIGH (connector pin 3)
0
On-line.
8
Off-line.
16
Not used. Fixed to On.
-
Undefined.
0
Not used. Fixed to Off.
4-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents