10/10/03
CHAPTER 2 "PCL" - 58
Value Vendor
0 Reserved
1 Agfa Division, Miles Inc.
2 Bitstream Inc.
3 Linotype Company
4 The Monotype Corporation plc
5 Adobe Systems Inc.
The Typeface family number can be 0 to 4095. This value is calculated as follows;
(TrueType base value) + (Vendor value x 4096) = Typeface Family
• Serif style (UB) -
Bitmap font - ignored by these printers.
Scalable font - values for the lower 6 bits are ignored and values for the upper 2 bits indicates the serif style.
Bit 6 indicates sans serif and bit 7 indicates serif.
• Quality (UB) - ignored by these HL Series printers. This byte specifies the fonts quality according to the
following table.
• Placement (SB) - ignored by these HL Series printers. This byte specifies the placement of characters
relative to the baseline according to the following table.
• Underline distance (SB) -
Bitmap fonts - the distance in dots from the baseline to the underline. A positive value places the underline
above the baseline, a negative value places it below the baseline. A value of 0 places it on the baseline.
Scalable fonts - ignored by these printers. This value should be set to 0.
• Underline height (UB) - the height of underline itself.
Bitmap fonts - this value is fixed at 3 dots.
Scalable fonts - ignored by these printers. This value should be set to 0.
• Text height (UI) - ignored by these HL Series printers.
This word specifies the spacing between successive lines of text in 1/4 dots for bitmap fonts and in design
units for scalable fonts. This is normally about 1.2 times the fonts height.
• Text width (UI) - ignored by these HL Series printers.
This word specifies the average width of the fonts lowercase characters in 1/4 dots for bitmap fonts and in
design units for scalable fonts.
• First code (UI) - ignored by these printers. This word specifies the character code of the first (lowest
numbered) printable character in the font.
• Last code (UI) - specifies the character code of the last (highest numbered) character in the font. If this
value is less than 255, it is recognized as 00FFH.
• Pitch extended (UB) - the fractional part of the character pitch. For a 17 cpi font the bytes value would be
calculated as follows:
- 1200/17 = 70.588 The Pitch byte takes the value 70.
- Pitch Extended = 0.588 X 256 = 150 (rounded down).
( According to HP's manual, this should be set to 0.) This printer ignores the value for scalable fonts.
•
Height extended (UB) - the fractional part of the height of the font. For a 10 point font the bytes value would
be calculated as follows:
1200 X 10/72 = 166.667, the Height byte takes the value 166
Height Extended = 0.667 X 256 = 170 (rounded down).
Point size = (character height x 256 + extended character height) x 300 / (72 x 1024)
( According to HP's manual, this should be set to 0.) These printers ignore the value for scalable fonts.
• Cap height data (UI) - ignored by these HL Series printers. This word specifies for the font the distance
between the baseline and the top of an unaccented capital letter (for example, ‘H’), as a percentage of the
font’s em rule, ‘—’.