Chapter 10: IBM - Standard Functions
10-29
Select font via pitch/
point size
Function Dec. Hex. ASCII
Select font via pitch / 27 16 70 1B 10 46 ESC DLE F
point size Pn
0
Pn Pn
0
Pn Pn
0
Pn
Lp Hp Lp Hp Lp Hp
Pn
0
= 0 to 255 (MSB ignored)
Pn = 0 to 255 (MSB ignored)
Lp = 0 to 255
Hp = 0 to 255 (MSB ignored)
With this command a previously selected font can be scaled within
limited ranges by defining the pitch and the point size.
● The parameter Pn
0
sets the number of parameters which follow this
parameter. In this command the parameter Pn
0
must be set to 3. For
values of Pn
0
< 3 this command is ignored. For values of Pn
0
> 3,
Pn
0
-3 data bytes are ignored which follow the parameter Hp.
● The parameter Pn defines the pitch and parameters Lp and Hp
the point size of the font.
● Values from 0 to 255 are permitted for Pn, the most significant
bit however being disregarded.
● For values 2 < Pn < 4 this command is ignored.
● For values > 4 the pitch of Pn/360 inch is assigned to the font.
● The value Pn = 0 does not alter the current pitch and Pn = 1
selects proportional spacing.
● The following relation between pitch and point size applies to
proportional spacing:
Pitch = 360/INT (Point size * standard width /10.5 + 0.5) cpi
● Point size is the size entered with parameters Lp and Hp. Stand-
ard width is the proportional width with a font size of 10.5
points.
The following relation applies to super/subscript with proportional
spacing.