
THERMAL RECEIPT PRINTER
8
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 n
L
n
H
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
[Format] ASCII DLE DC4 n m t
Hex 10 14 n m t
Decimal 16 20 n m t
[Range] n = 1
m = 0, 1
1 <=
t <=
8
[Description] Outputs the pulse specified by t to connector pin m as follows:
m Connector
pin
0
Drawer kick-out connector pin 2.
1
Drawer kick-out connector pin 5.
The pulse ON time is [ t
100 ms] and the OFF time is [ t
100ms].
[Details]
When the printer is in an error status when this command is processed, this
command is ignored.
When the pulse is output to the connector pin specified while
ESC p
or
DEL
DC4
is executed while this command is processed, this command is ignored.
The printer executes this command upon receiving it.
With a serial interface model, this command is executed even when the printer
is off-line, the receive buffer is full, or there is an error status.