CR

[Name]

Print and carriage return

[Format]

ASCII

CR

 

Hex

0D

 

Decimal

13

[Description] When auto-line feed is enabled, this command functions in the same way as LF. When auto-line feed is disabled, this command is ignored.

[Notes]

This command sets the print position to the beginning of the line.

 

This command is available only with a parallel interface and is

 

 

ignored with a serial interface.

DLE EOT n

[Name]

Real-time status transmission

 

[Format]

ASCII

DLE

EOT

n

 

Hex

10

04

n

 

Decimal

16

4

n

[Range]

1≤ n ≤ 4

 

 

 

[Description]

Transmits the selected printer status specified by n in real time,

 

according to the following parameters:

 

n = 1: Transmit printer status

 

n = 2: Transmit off-line status

 

n = 3: Transmit error status

 

n = 4: Transmit paper roll sensor status

[Notes]

• The printer transmits the current status. Each status is represented

 

by one-byte data.

 

 

The printer transmits the status without confirming whether the host computer can receive data.

This command is executed even when the printer is in the off-line, receive buffer is full, or error staus.

The printer executes this command upon receiving it.

The status is transmitted whenever the data sequence of 10H(16)04H(4)n (1 ≤ n ≤ 4) is received.

Example:

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

This command should not be used within the data sequence of another command that consists of 2 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 then DLE EOT 3 interrupts before n is received, the code 10H(16) for DLE EOT 3 is processed as the code for ESC 3 10H(16).

Commands 5-3

Page 61
Image 61
Epson TM-T85P manual DLE EOT n, Ascii DLE EOT