Select Font and Pitch by Point
ESC X
Data Structure
ASCII ESC "X" <m> <n
L
><n
H
> select font and pitch by point
hex. 1B 58 <m> <n
L
><n
H
>
dec. 27 88 <m> <n
L
><n
H
>
Description Valid values:
5 ≤ m ≤ 127 m = 0.1
0 ≤ n
L
≤ 255
0 ≤ n
H
≤ 127
Selects the pitch and point attributes for scalable fonts.
Pitch:
m = 0 No change in pitch
m = 1 Selects proportional spacing
m ≥ 5 Selects fixed pitch equal to 360/m cpi
m = 36 default (10 cpi)
Points:
(point size) =
(n
H
x 256) + n
L
2
inch 1 point
∧
=
1
⁄
72
inch
n
H
= INT
(point size) x 2
256
n
L
= MOD
(point size) x 2
256
n
H
= n
L
= 0 No change in point size
n
H
= 0
n
L
= 21
}
default (10.5 points)
32
Character Styling