Epson TM-T85P manual DLE ENQ n, 6Commands

Models: TM-T85 TM-T85P

1 115
Download 115 pages 23.45 Kb
Page 64
Image 64

Bit

Off/On

Hex

Decimal

Function

 

 

 

 

 

3

On

0C

12

Paper near-end is detected by the paper roll near-

end sensor.

 

 

 

 

 

 

 

 

 

4

On

10

16

Not used. Fixed to On.

 

 

 

 

 

5

Off

00

0

Paper roll end sensor. Paper present.

 

 

 

 

 

6

On

60

96

Paper end is detected by the paper roll end sensor.

 

 

 

 

 

7

Off

00

0

Not used. Fixed to Off.

 

 

 

 

 

[Reference] DLE ENQ, ESC u, ESC v, 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] 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 an

 

error occurred, after recovering from the error.

 

n = 2: Recovers from an error after clearing the receive and

 

print buffers.

[Notes]

• The command is effective only when an auto-cutter error occurs.

 

• The printer executes this command upon receiving it.

 

• This command is also executed when the receive buffer is full.

 

• The status is transmitted whenever the data sequence of 10H(16)

 

05H(5)n (1 ≤ n ≤ 2) is received.

 

Example:

 

In ESC m nL nH [d] K, d1=10H(16) , d2=05H(5) , d3=01H(1)

 

• This command should not be used within the data sequence of

 

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

 

10H(16) for DLE ENQ 2 is processed as the code for ESC 3

 

10H(16).

5-6Commands

Page 64
Image 64
Epson TM-T85P manual DLE ENQ n, 6Commands