When the printer receives this command and the requested font is

 

present, the secondary 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 standard 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 FN Command

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

Table 23-30 Example: Using the FN Command

ECE

Reset the printer.

EC*c28D

Specify a font ID number of 28.

EC(s1p18v0s3b4148T

Select an 18-point Univers Bold font as the

 

primary font.

 

 

EC*c6F

Assign the currently selected font as a

 

temporary font with the current ID number

 

(28).

 

 

EC%0B

Enter HP-GL/2 mode.

IN;

Initialize HP-GL/2 mode.

 

 

SP1;

Select pen number 1. Even though there is

 

no physical pen, the SP command must

 

be used to enable printing.

 

 

PA1500,1500;

Move to location (1500,1500).

 

 

DT#;

Define “#” as a label terminator

 

(non-printing).

 

 

EN

FN, Select Secondary Font 23-57

Page 669
Image 669
HP 5961-0509 manual ExampleUsing the FN Command, Example Using the FN Command