User's Manual

-26-
[Reference] DLE ENQ, GS a, GS r
DLE ENQ n (*)
[Name] Real-time request to printer
[Format] ASCII DLE ENQ n
Hex 10 05 n
Decimal 16 5 n
[Range] 1 £ n £ 2
[Description] Responds to a request from the host computer. n specifies the requests as
follows:
n
Request
1
Recover from an error and restart printing from the line where the error occurred
2
Recover from an error aft clearing the receive and print buffers
[Details] · This command is effective only when an auto-cutter error occurs.
· The printer starts processing data upon receiving this command.
· This command is executed even when the printer is off-line, the receive buffer is full,
or there is an error status with a serial interface model.
· With a parallel interface model, this command can not be executed when the
printer is busy. This command is executed even when the printer is off-line or
there is an error status when DIP switch 2-1 is on with a parallel interface
model.
· The status is also transmitted whenever the data sequence of <10>H<05>H<n>(1 £ n
£ 2) is received.
Example:
In ESC * m nL nH dk, d1 = <10>H, d2 = <05>H, d3 = <01>H
· This command should not be contained within another command that consists
of two or more bytes.
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 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.) that were 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 error.
· 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.
[Reference] DLE EOT
DLE DC4 n m t (*)
[Name] Generate pulse at real-time