ITEM SYMBOL
Hexadecimal Decimal
FUNCTION
[57]
ESC [ \ n1 n2
[1B,5B,5C,n1,n2,m1,...m4] H
Sets basic line spacing to 1/180", 1/216", or 1/360".
m1...m4
[27,91,92,n1,n2,m1,...m4] D
n1=4, n2=0, m1=0, and m2=0
The basic line spacing affects the amount of the line
feeding at ESC J and ESC 3.
[58]
ESC [ d n1 n2
[1B,5B,64,n1,n2,m] H
Selects print character quality.
m
[27,91,100,n1,n2,m] D
n1=1 and n2=0
m=00h: no change
m=01h-7Fh: draft character quality
m=80h-BFh and FFh: LQ character quality
m=C0h-FEh: emphasized LQ character quality
[59]
ESC [ g n1 n2
[1B,5B,67,n1,n2,m,data] H
Sets various graphic modes.
m data
[27,91,103,n1,n2,m,data] D
Note (
**)
: Horizontal adjacent dots can not be printed.
The number of data bytes following n1 and n2 is defined as the total column number for
8-pin graphics (one byte/column) plus one extra parameter byte (m). 24-pin graphics
takes three bytes/column and 48-pin graphics takes six bytes/column.
Each bit data in the 8-pin and 48-pin graphics corresponds to 2 print pins of the print
head. The following figure shows one column of data and its corresponding print
position.
Note (
*)
: These pins become active when both adjacent print pins are activated.
[60]
ESC \ n1 n2
[1B,5C,n1,n2,data] H
Prints characters from all character set.
data
[1B,92,n1,n2,data] D
The number of character to be printed is defined by
n1+n2
×
256.
[61]
ESC ]
[1B,5D] H [27,92] D
Reverse line feeds by the current line spacing.
[62]
ESC ^ n
[1B,5E,n] H [27,94,n] D
Prints one character (n: character code) from all
character set.
[63]
ESC _ n
[1B,5F,n] H [27,95,n] D
Sets or cancels overscore mode.
n=0: the overscore mode is cancelled
n=1: the overscore mode is set
[64]
ESC d n1 n2
[1B,64,n1,n2] H
Sets relative print position.
[27,100,n1,n2] D
(n1+n2
×
256)/120" from current position
[65]
ESC j
[1B,6A] H [27,106] D
Stops printing and sets the printer in offline.
m
Graphic Type
Number
Maximum
Horizontal
of Pins
Columns
Density
0
Standard-density
8
816
60
1
Double-density
8
1632
120
2
Double-speed double-density **
8
1632
120
3
Quadruple-density **
8
3264
240
8
Standard-density
24
816
60
9
Double-density
24
1632
120
11
Triple-density
24
2448
180
12
Hex-density**
24
4896
360
16
Hex-density**
48
4896
360
Bit Data (MSB)
Print Pin (Top)
(LSB)
(Bottom)
1
1
1
0
1
0
1
1
m3
m4
Basic line spacing
180
0
1/180" line spacing (AGM)
216
0
1/216" line spacing
104
1
1/360" line spacing
108
B. Control code summary (IBM)