First Code (UI)

First Code specifies the character code of the first printable character in the font. This value is between 0 and 255 inclusive. The Space Character may be printable and will print an image if one is defined, otherwise a Space control code is executed. Currently, PCL 5 LaserJet printers use the Font Type field to determine the first and last codes of the symbol set, as shown below:

Table 11-22

Font Type

First Code../..Last Code

 

 

0

32/127

 

 

1

32/127 - 160/255

 

 

2

0/255

 

 

10

Set to 0 (for unbound font)

 

 

11

Set to 0 (for unbound font)

 

 

Last Code / Number of Characters (UI)

Bound Font: Specifies the last code in the font. This value may be greater than the last code of the symbol set as implied by the font type because there may be components of compound characters that are not part of the symbol set but must be downloaded. The printable codes are implied by the font type (refer to first code described above).

Unbound Font: For an unbound font (type 10 or 11), this field specifies the maximum number of characters that can be down- loaded into the font.

Pitch Extended (UB)

Bitmap Font - This is an addition to the Pitch field which extends the pitch an extra eight bits. The value of this field is in font design units. For example, a 17 pitch font designed at 300 dpi has a Pitch field of 70 (17.5 dots, or 17.1429 cpi) and a Pitch Extended field of 150 (0.1465 dots additional, which adds to 17.6465 dots, or 17.0005 pitch).

An example for calculating the Pitch and Pitch Extended fields is provided in the Pitch field description, above.

11-30Soft Font Creation

EN

Page 212
Image 212
HP 5961-0509 manual Last Code / Number of Characters UI, Pitch Extended UB, Font Type First Code../..Last Code