ESC SP n
[Name]
[Format]
[Range]
[Description]
Set right-side character spacing.
ASCII
Hex
Decimal
0 < n < 255
Sets the character spacing for the right side of the character to [n x
horizontal or vertical motion unis].
ESC
1B
27
SP
20
32
n
n
n
ESC ! n
0
1
2
3
4
5
6
7
Off
On
-
-
Off
On
Off
On
Off
On
-
Off
On
00
01
-
-
00
08
00
10
00
20
-
00
80
0
1
-
-
0
8
0
16
0
32
-
0
128
Character font A (12 x 24)
Character font B (9 x 24)
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.
Bit
Off/On
Hex
Decimal
Function
[Name]
[Format]
[Range]
[Description]
Select print modes.
ASCII
Hex
Decimal
0 < n < 255
Selects print mode(s) using n as follows:
ESC
1B
27
!
21
33
n
n
n
ESC-$ nL nH
[Name]
[Format]
[Range]
[Description]
Set absolute print position.
ASCII
Hex
Decimal
0 < nL < 255
0 < nH < 255
Set the distance from the beginning of the line to the position at with
subsequent characters are to be printed.
The distance from the beginning of the line to the print position is [(nL +
nH x 256) x (vertical or horizontal motion unit)] inches.
ESC
1B
27
$
24
36
nL
nL
nL
nH
nH
nH
ESC % n
[Name]
[Format]
[Range]
[Description]
Select/Cancel user-defined character set.
ASCII
Hex
Decimal
0 < n < 255
Selects or cancels the user-defined character set.
When the LSB of n is 0, the user-defined character set is canceled.
When the LSB of n is 1, the user-defined character set is selected.
ESC
1B
27
%
25
37
n
n
n
Select bit-image mode.
ASCII
Hex
Decimal
m = 0, 1, 32, 33
0 < nL < 255
0 < nH < 3
0 < d < 255
Selects a bit-image mode using m for the number of dots specified by nL and
nH, as follows:
ESC & y c1 cw [x1 d1...d(y
x
x1)...[xk d1...d(y
x
xk)]
[Name]
[Format]
[Range]
[Description]
Define user-defined characters.
ASCII
Hex
Decimal
y = 3
32 < c1 < c2 < 126
0 < x < 12 Font A (12 x 24)
0 < x < 9 Font B ( 9 x 24)
0 < d1 ... d(y x xk) < 255
Defines user-deined characters.
y specifies the number of bytes in the vertical direction.
c1 specifies the beginning character code for the definition, and c2
specifies the final code.
x secifies the number of dots in the horizontal direction.
ESC
1B
27
&
26
38
y
y
y
c1
c1
c1
c2[x1 d1...d(y
x
x1)]...[xk d1//d(y
x
xk)]
c2[x1 d1...d(y
x
x1)]...[xk d1//d(y
x
xk)]
c2[x1 d1...d(y
x
x1)]...[xk d1//d(y
x
xk)]
ESC
*
m nL nH d1...dk
[Name]
[Format]
[Range]
[Description]
ESC
1B
27
*
2A
42
m nL nH d1 ... dk
m nL nH d1 ... dk
m nL nH d1 ... dk
0
1
32
33
8
8
24
24
60 DPI
60 DPI
180 DPI
180 DPI
90 DPI
180 DPI
90 DPI
180 DPI
nL + nH x 256
nL + nH x 256
(nL + nH x 256) x 3
(nL + nH x 256) x 3
8-dot single-density
8-dot double-density
24-dot sigle-density
24-dot double-density
m
Mode
Vertical direction
Number
of Dots
Dot
Density
Horizontal direction
Dot
Density
Number of Data
(k)
27
28