Olivetti PR 4 Programmer's Manual page 46

Impact printer
Table of Contents

Advertisement

DLE ENQ n
Real-time request to printer
Hexadecimal code: 10 05 n
Range: n =1-3
The printer responds to a request from the host specified by n. The operations performed depend on the
value of n, as follows:
n=1
Restarts printing from the beginning of the line where the error occurred, after recovering
from the error.
n=2
Recovers from an error after clearing the receive and print buffer.
n=3
Cancel the slip waiting status
-
The printer executes this command upon receiving it.
Notes:
-
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 also 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=(05)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 DLE
ENQ 2 interrupts before n is received, the code (10)H for DLE ENQ 2 is processed as the
code for ESC 3 (10)H.
-
DLE ENQ 1 starts printing from the line where an error occurred. This command is
available only for errors that have the possibility of recovery, except for print head
temperature errors.
-
When the printer recovers from an error using DLE ENQ 1, and slip paper is selected, the
printer ejects the slip completely and loads the paper. However, the printer ejects the slip
and does not load paper only when the printer recovers from a slip ejection error.
-
DLE ENQ 2 enables the printer to recover from an error after clearing the data in the
receive buffer and the print buffer. The printer retains the settings (by ESC !, ESC 3, etc.)
in effect when the error occurred. The printer can be initialized completely by using this
command and ESC @. This command is enabled only for errors that have the possibility
of recovery, except for print head temperature errors.
-
When the printer recovers from an error using DLE ENQ 2, and slip paper is selected, the
printer ejects the slip completely and goes to paper roll mode. Therefore, when printing on
slip paper is to be continued, select slip mode again using ESC c 0 4 after the slip is
ejected.
-
DLE ENQ 3 is ignored except when the printer is in the slip waiting state. Therefore, be
sure to use DLE EOT 5 to check whether slip paper is selected and the printer is in the slip
waiting state before executing DLE ENQ 3. After the printer is released from the slip
waiting state, the paper roll is selected.
-
When the slip waiting state is cancelled by DLE ENQ 3, the receive and print buffer are
cleared.
-
When the printer is disabled with ESC = (Select peripheral device), the error recovery
functions (DLE ENQ 1 and DLE ENQ 2) are enabled, and the other functions are disabled.
-
If the value of n is out of the specified range, the printer ignores this command.
4-10
Epson TM-U950 Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents