ESC * m nL nH d1...dk
[Name]
Select bit-image mode.
[Format]
ASCII
ESC
*
m nL nH d1...dk
Hex
1B
2A
Decimal
27
42
[Range]
m = 0, 1, 32, 33
0 ≤nL ≤255
0 ≤nH ≤3
0 ≤d ≤255
[Description]
Selects a bit-image mode using m for the number of dots specified by nL and
nH, as follows :
Vertical Direction
m
No. Vertical Dots
Number
of Dots
Density
0
8-dots single-density
8
60 DPI
1
8-dot double-density
8
60 DPI
32
24-dot single-density
24
180 DPI
33 24-dot double-density
24
180 DPI
ESC - n
[Name]
Turn underline mode on / off.
[Format]
ASCII
ESC
-
n
Hex
1B
2D
n
Decimal
27
45
n
0 ≤n ≤2, 48 ≤H ≤50
[Range]
[Description]
Turns underline mode on or off, based on the following values of n :
n
0, 48
Turns off underline mode.
1, 49
Turns on underline mode (1-dot thick).
2, 50
Turns on underline mode (2-dot thick).
ESC 2
[Name]
Select default line spacing.
[Format]
ASCII
ESC
2
Hex
1B
32
Decimal
27
50
[Description]
Selects 1/6-inch line (approximately 4.32mm) spacing.
32
m nL nH d1...dk
m nL nH d1...dk
Horizontal Direction
Dot
Dot
Number of Data (k)
Density
90 DPI
nL + nH ×256
180 DPI
nL + nH ×256
(nL + nH ×256) ×3
90 DPI
(nL + nH ×256) ×3
180 DPI
Function
ESC 3 n
[Name]
Set line spacing
[Format]
ASCII
ESC
3
Hex
1B
33
Decimal
27
51
0 ≤n ≤255
[Range]
[Description]
Sets the line spacing to [n X vertical or horizontal motion unit] inches.
ESC = n
[Name]
Select peripheral device.
[Format]
ASCII
ESC
=
Hex
1B
3D
Decimal
27
61
[Range]
0 ≤n ≤3
[Description]
Selects device to which host computer sends data, using n as follows :
Bit
Off/On
Hex
0
Off
00
On
01
1-7
-
-
ESC ? n
[Name]
Cancel user-defined characters.
[Format]
ASCII
ESC
?
n
Hex
1B
3F
n
Decimal
27
63
n
32 ≤n ≤126
[Range]
[Description]
Cancels user-defined characters.
ESC @
[Name]
Initialize printer.
[Format]
ASCII
ESC
@
Hex
1B
40
Decimal
27
64
32 ≤n ≤126
[Range]
[Description]
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.
33
n
n
n
n
n
n
Decimal
Function
0
Printer Disabled.
1
Printer Disabled.
-
Undefined.