DLE ENQ n

[Function]

Real-time request to printer

[Code]

<10>H<05>H<n>

[Range]

1 n

2

[Outline]

The printer responds in real-time to the request that the host

 

specifies with number “n”.

 

 

 

 

n

Function

 

 

After recovering from an error, the printer resumes

1printing from the beginning of the line where the error occurred.

 

2

The printer clears the receive buffer and the print buffer,

 

and then recovers from the error.

 

 

[Caution]

• This command is only effective if an auto cutter error has

occurred.

• This command is dealt with when it is received.

• This command is also executed even if the printer is in a receive-buffer full state.

• If another data string of <10>H<05>H<n>(1 n 2) is received, the printer acts in the same way as with this command. The user should, therefore, be reminded of this fact.

[Example 1]

If, for example, a command “ESC * m nL nH {d} k”, where d1 = <10>H, d2=<05>H, d3=<01>H1, is given, the DLE ENQ n command cannot be interleaved into the code string of another command consisting of two bytes or more.

[Example 2]

If the printer sends DLE ENQ 2 when the host has sent up to ESC 3 in its attempt to send ESC 3 n, the printer treats the ESC 3 as ESC 3 <10>H. Thus, the user should be careful.

Even if DLE ENQ 2 is executed, the settings made by, for example, ESC ! and ESC 3 retain the conditions when the error occurred. A combined use of this command and ESC @ can completely initialize the printer.

[See Also]

DLE EOT

— 53 —

Page 71
Image 71
Citizen CBM1000 manual DLE ENQ n, Function