FI, Select Primary Font

This command allows any accessible font that has been assigned a font ID number to be selected as the primary (standard) font (the font characteristics are assigned to the standard font). As mentioned, the font must be accessible to the printer as either a resident font, a downloaded font, or a loaded cartridge font. To be selected, the font must have been previously assigned a font ID number in PCL mode. Also, for scalable fonts, the FI command must be preceded by an SD command specifying the font’s point size or pitch (see the “Using the FI Command” example).

FI font_ ID[;]

 

 

Parameter

Format

Functional Range

Default

 

 

 

 

 

 

 

 

font_ID

integer

0 to 32767

no default

 

 

 

 

 

 

 

 

When the printer receives this command and the requested font is

 

 

present, the primary font characteristics are set to those of the

 

 

requested font. If the selected font is proportionally spaced, the

 

 

pitch characteristic is not changed.

 

 

 

 

 

 

 

Notes

 

This command does not select the font for label printing if you are

 

 

currently using the alternate font.

 

The FI and FN commands implicitly change the value of SB. For example, if SB = 0 and FI selects a bitmap font, SB is set to 1. This affects the performance of certain HP-GL/2 commands. Refer to SB command later in this chapter.

Example:Using the FI Command

The following example demonstrates assigning a font ID number from within PCL mode, entering HP-GL/2 mode, using the FI command to select that font, and printing a short line of text.

23-54The Character Group

EN

Page 666
Image 666
HP 5961-0509 manual FI, Select Primary Font, ExampleUsing the FI Command, 23-54The Character Group