4039
Control commands list
Chapter 5
DLE ENQ n
[Name] Real-time request to printer
[Format] ASCII DLE ENQ n
Hex 10 05 n
Decimal16 5 n
[Range] n = 0, n = 2
[Description] The printer responds to a request from the host specified by n.
n = 0: Recovers to on-line state.
n = 2: Recovers from an error after clearing the receive and print buffers.
[Notes]
This command should not be used within the data sequence of
another command that consists of two or more bytes. For 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.
This command n = 2 is valid only when a mechanical error or an
auto-cutter error has occurred.
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.) 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 possibility of recovery
ESC SP n
[Name] Set right-side character spacing
[Format] ASCII ESC SP n
Hex 1B 20 n
Decimal27 32 n
[Range] 0 n 255
[Description] Sets the character spacing for the right side of the character to
[ n x 0.122 mm {1/208 inches}] .
[Notes] The right-side character spacing for double-width mode is
twice the normal value.
[Default] n = 0
ESC ! n
[Name] Select print mode(s)
[Format] ASCII ESC ! n
Hex 1B 21 n
Decimal27 33 n
[Range] 0 n 255
[Description] Selects print mode(s) using n as follows:
[Notes]
When both double-height and double-width modes are selected,
quadruple size characters are printed.
Underlining is added to the entire width of each character,
including the space to the right of a character, but is not added to
portions of lines that were skipped by means of an HT.
[Default] n = 1
[Reference] ESC E, ESC –
Bit
0
1
2
3
4
5
6
7
Off/On
Off
On
-
-
Off
On
Off
On
Off
On
-
Off
On
Hex
00
01
-
-
00
08
00
10
00
20
-
00
80
Decimal
0
1
-
-
0
8
0
16
0
32
-
0
128
Function
Character font A (12 x 14) selected.
Character font B (12 x 12) selected.
Undefined.
Undefined.
Emphasized mode not selected.
Emphasized mode selected.
Double-height mode not selected.
Double-height mode selected.
Double-width mode not selected.
Double-width mode selected.
Undefined.
Underline mode not selected.
Underline mode selected.