Programmer
Manual
n = 4: Continuous paper sensor Status
[Reference]
DLE ENQ, GS a, GS r
DLE ENQ n (*)
Bit
0
1
2
,
3
4
5
,
6
7
Off/On
0
1
0
1
1
0
1
0
Hex
00
02
00
0C
10
00
60
00
Decimal
0
2
0
12
16
0
96
0
Function
Not used.Fixed to Off.
Not used Fixed to On.
Paper roll near-end sensor:paper adequate.
Paper near-end is detected by the paper roll near-end sensor.
Not used.Fixed to On.
Paper roll sensor:Paper present.
Paper roll end detected by paper roll senso.
Not used.Fixed to Off.
[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:
[Details]
[Reference]
DLE EOT
•
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
possib-ility 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.
n
1
2
Request
Recover from an error and restart printing from the line where the error occurred
Recover from an error aft clearing the receive and print buffers
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:
Содержание RPT008
Страница 1: ......