—
8. Software commands
—
ESC
✽
(27)D (42 )D (1B)H (2A)H
Selects a graphic function.
m m m
Valid only when
#26 AGM (Alternate Graphics Mode)
is set to
n1 n2 n1 n2 n1 n2 YES
in the EXTENDED SETUP MODE.
d1 d2 d1 d2 d1 d2
m (
printing density
)= 0, 1, 2, 3, 4, 6, 32, 33, 38,
39, 40
... dk ... dk ... dk
ESC – (27)D (45 )D (1B)H (2D)H
Specifies or cancels underscoring.
(n = 0, 1)
nn n
ESC 0 (27)D (48 )D (1B)H (30)H
Specifies line feed at a 1/8-inch pitch.
ESC 1 (27)D (49 )D (1B)H (31)H
Specifies line feed at a 7/72-inch pitch.
ESC 2 (27)D (50 )D (1B)H (32)H
Executes
ESC A.
Sets the line feed pitch to the value specified by
ESC A.
ESC 3 (27)D (51 )D (1B)H (33)H
Specifies
n/216
-inch line feed pitch
. {1 ≤n ≤ 255}
nn n When n=0, this command is invalid.
ESC 3 (27)D (51 )D (1B)H (33)H
Specifies n/180 -inch line feed pitch.
(AGM) {1 ≤n ≤ 255}
nn n
Setting of n = 0 is possible.
ESC 4 (27)D(52)D (1B)H (34)H TOF
Specifies.
ESC 5 (27)D(53)D (1B)H (35)H
Specifies or cancels automatic line feeding.
{n = 0, 1}
nn n
Specifies whether to execute a carriage return and a line feed
or a carriage return only when executing the CR code.
n=0
: Carriage return only
n=1
: Carriage return and line feeding
ESC 6 (27)D(54)D (1B)H (36)H
Specifies character set 2.
ESC 7 (27)D(55)D (1B)H (37)H
Specifies character set 1.
ESC : (27)D(58)D (1B)H (3A)H
Specifies
12 CPI.
Valid when #34 PITCH LOCK is set to NO in the EXTENDED
SETUP MODE.
ESC = (27)D(61)D (1B)H (3D)H
Specifies downloading.
n1 n2 n1 n2 n1 n2 {0 ≤ n1 ≤ 255} {0 ≤ n2 ≤ 255} {I.D.byte = (23)H}
(I.D.byte) (I.D.byte) (I.D.byte) {(00)H ≤ (adrs-low) ≤ (FF)H} {(00)H ≤ (adrs-high) ≤ (FF)H}
(adrs-low) (adrs-low) (adrs-low) {(00)H ≤data ≤ (FF)H}
(adrs-high) (adrs-high) (adrs-high)
The number of following data:
n1+n2
×
256.
data data data
When
n1=n2=0
, the downloading area is initialized. Two bytes,
(adrs-low)(adrs-high)
show the memory address in which the first
byte of data is stored. The next data is stored in the following
address in sequence.
ESC A (27)D(65)D (1B)H (41)H
Specifies the line feed pitch in units of
n/72 inch. {1 ≤n ≤ 255}
nn n
Specifies the line feed pitch in units of n/72 inch. When n = 0,
this command is invalid.
●
IBM Software commands
Decimal Hex
Symbol
Function
Code
8-10
Mode Pin m
Horizontal dot density
Max. dots per line
dpi
(dot/inch)
Single-density 8 0 60 Same as ESC K
Double-density 8 1 120 Same as ESC L
Double-speed
8 2 120 Same as ESC Y
double-density
❈
Quadruple-density ❈ 8 3 240 Same as ESC Z
CRT I 8 4 80 CRT I
CRT II 8 6 90 CRT II
Single-density 24 32 60 High density of ESC K
Double-density 24 33 120 High density ofESC L
CRT III 24 38 90 CRT III
Triple-density 24 39 180 Triple high density
Hex-density❈ 24 40 360 Quadruple high density
❈Horizontally adjacent dots can not be printed.