Select Font and Pitch by Point |
| ESC X | ||||
|
|
|
|
| ||
Data Structure | ASCII | ESC "X" | <m> <nL> <nH> | select font and pitch by point | ||
| hex. | 1B | 58 | <m> <nL> <nH> |
| |
| dec. | 27 | 88 | <m> <nL> <nH> |
| |
Description | Valid values: |
|
|
| ||
| 5 | ≤ m ≤ 127 | m = 0.1 |
| ||
| 0 | ≤ nL ≤ 255 |
|
|
| |
| 0 | ≤ nH ≤ 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: |
|
|
|
|
|
|
|
|
|
| (nH x 256) + nL |
| ∧ | ||
(point size) = |
|
|
| inch | 1 point = 1⁄72 inch | ||
2 |
|
| |||||
|
|
|
|
|
|
| |
n = INT | (point size) x 2 |
|
|
|
| ||
|
|
|
| ||||
H |
|
| 256 |
|
|
|
|
n = MOD | (point size) x 2 |
|
|
| |||
|
|
| |||||
L |
|
| 256 |
|
|
|
|
nH = nL = 0 | No change in point size |
| |||||
nH = 0 | } | default (10.5 points) |
| ||||
nL = 21 |
|
|
|
|
| ||