29
30
ESC ? n
[Name]
[Format]
[Range]
[Description]
Cancel user-defined characters.
ASCII
Hex
Decimal
32 < n < 126
Cancels user-defined characters.
ESC
1B
27
?
3F
63
@
40
64
n
n
n
ESC
1B
27
D
44
68
n1...nk
n1...nk
n1...nk
NUL
00
0
ESC D n1...nk NUL
[Name]
[Format]
[Range]
[Description]
Set horizontal tab positions.
ASCII
Hex
Decimal
1 < n < 255
0 < k < 32
Sets horizontal tab position.
n specifies the column number for setting a horizontal tab position
from the beginning of the line.
k indicates the total number of horizontal ta positions to be set.
ESC @
[Name]
[Format]
[Description]
Initialize printer.
ASCII
Hex
Decimal
Clears the data in the print buffer and resets the printer mode
to the mode that was in effect when the power was turned on.
ESC
1B
27
ESC
1B
27
E
45
69
n
n
n
ESC E n
[Name]
[Format]
[Range]
[Description]
Turn emphasized mode on/off.
ASCII
Hex
Decimal
1 < n < 255
Turns emphasized mode on or off.
When the LSB is 0, emphasized mode is turned off.
When the LSB is 1, emphasized mode is turned on.
ESC - n
[Name]
[Format]
[Range]
[Description]
Turn underline mode on/off.
ASCII
Hex
Decimal
0 < n < 2, 48 < n < 50
Turns underline mode on or off, based on the following values of n:
ESC
1B
27
-
2D
45
n
n
n
ESC 2
[Name]
[Format]
[Description]
Select default line spacing.
ASCII
Hex
Decimal
Select 1/6-inch line (approximately 4.23mm) spacing.
ESC
1B
27
2
32
50
ESC 3 n
[Name]
[Format]
[Range]
[Description]
Set line spacing.
ASCII
Hex
Decimal
0 < n < 255
Sets the line spacing to [n x vertical or horizontal motion unit] inches.
ESC
1B
27
3
33
51
n
n
n
ESC = n
[Name]
[Format]
[Range]
[Description]
Set peripheral device.
ASCII
Hex
Decimal
0 < n < 3
Selects device to which host computer sends data, using n as follows:
ESC
1B
27
=
3D
61
n
n
n
0, 48
1, 49
2, 50
Turns off underline mode.
Turns on underline mode (1-dot thick).
Turns on underline mode (2-dots thick).
n
Function
0
1-7
Printer disabled.
Printer disabled.
Undefined.
Bit
Off
On
-
Off/On
00
01
-
Hex
0
1
-
Decimal
Function