Specifications

TH230/TH230+ Programmers Guide
29
DLE ENQ
Function: Real time request to printer
Code ASCII: DLE ENQ n
Code HEX:
0x10 0x05 n
Range:
1 n 2
Description: Responds to a request in real time from the host system. n specifies the
request as follows:
n
Request
1 Restarts printing from the beginning of the line where an error
occurred, after recovering from the error.
2 Recover from an error after clearing the data in the receive
buffer and print buffers.
Notes:
This is a real-time command that the printer executes upon receiving it.
Note the following when using this command.
• If this command is embedded within the code string of another
command, it is processed as a parameter of the other command, and
the print result is not correct.
• If another command (such as bit image or defined data) has a code
string in a parameter that is the same as this command, the printer
starts processing this command.
This command is executed even when the printer is offline
If the receive buffer is full the execution depends from Memory Switch
2-8 (Listen to Real-Time-Commands - see command GS ( E).
- If Memory Switch 2-8 is set to off (48): command is executed.
- If Memory Switch 2-8 is set to on (49): command is not executed.
When a recoverable error occurs, after removing the cause of the error,
the printer can recover from the error by transmitting DLE ENQ 1 or DLE
ENQ 2 without the printer being turned off.
DLE ENQ 1 or DLE ENQ 2 is enabled only when a recoverable error
occurs, with the exception of an automatically recovered error, and is
ignored in other cases. Errors recoverable by DLE ENQ 1 or DLE ENQ 2
depend on the printer model.
DLE ENQ 1 or DLE ENQ 2 is also executed to recover from a recoverable
error when the printer is disabled by ESC =.
In page mode, if the printer recovers from a recoverable error by using
DLE ENQ 2, the printer returns to standard mode after clearing the data
in receive and print buffers and changing the values set by ESC W to the
default values.
After processing DLE ENQ 2, the printing position is moved to the left
side of the printable area. Printer is in the status “beginning of the line,”
or “there is data in the print buffer.”
If the value of n is out of the specified range, this command is ignored.
A description of the different errors and the error blink patterns can be
found on page 285.
This command can be disabled by US z.