HP 700, 800 manual Symbol Set Descriptor Field = 0 x 32 + 85 - 64 =, Spacing BOOL, Symbol Set UINT

Models: 700

1 124
Download 124 pages 26.67 Kb
Page 95
Image 95
11.2.10Spacing (BOOL)

Fonts

11.2.10Spacing (BOOL)

Specifies the type of font spacing. Fixed spacing is 0; proportional spacing is l; dual-fixed spacing is 2.

!

HP DeskJet printers prior to the HP DeskJet 600 Series treat values other than 0 or 1 as 1,

and require that landscape fonts have fixed spacing.

 

11.2.11Symbol Set (UINT)

Bound Font - Specifies the symbol set characteristic of the font.

The value for this field is derived from the symbol set identification number (ID) used by Esc(lD in the font selection process. The number portion (#) and the ASCII value of the letter portion

(L) of the ID are used to obtain the symbol set descriptor field value:

Symbol Set Descriptor Field = (# x 32) + (L - 64)

Assume the symbol set is US ASCII ISO-6. The symbol set table in the section

“Font Selection by Attribute,” identifies US ASCII as “0U”. Since # = 0 and U = 85, the field value is 21:

Symbol Set Descriptor Field = (0 x 32) + (85 - 64) = 21

Unbound Font - This field should be set to 56 (1X) for unbound fonts.

11.2.12Character Set (UINT16)

The Character Set field specifies the native mapping of a large font.

11.2.13Pitch (UINT)

Bitmap Font - Specifies the pitch of the font in quarter-dot units (i.e., four quarter-dot units equal one dot; also known as radix dots). It combines with Pitch Extended to specify the pitch of the font in 1/1024 dots. Pitch defines the default HMI for the font.

For example, at 300 dpi (1200 quarter-dots/inch), a 17-ppi font has a pitch field of 70 and a non-zero pitch extended field.

(1 inch /17char) x (300 dots / inch) x (4 radix dots / dot) = 70.588 radix dots The remainder 0.588 is converted back to dots and then to 1/1024 dots:

(0.588 radix dots /4 radix dots per dot) x (1024 units / dot) = 150 units/dot Pitch Extended is set to 1501/1024 units.

For proportional fonts, the width “printed” for a control code space is determined by the pitch value unless HMI has been changed.

HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide

95

Page 95
Image 95
HP 700 Symbol Set Descriptor Field = 0 x 32 + 85 - 64 =, Spacing BOOL, Symbol Set UINT, Character Set UINT16, Pitch UINT