HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II

EN FI, Select Primary Font 23-55
Table 23-28 Example: Using the FI Command
E
C
E Reset the printer.
E
C
*c15D Specify a font ID number of 15.
E
C
(s1p18v0s3b4148T Select an 18-point Univers Bold font as the
primary font.
E
C
*c6F Assign the currently selected font as a
temporary font with the current ID number
(15).
E
C
%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).
LBLaserJet
Printers CR-LF#;
Print “LaserJet Printers” in the currently
selected font, which is the default Stick
font; Carriage Return/Line Feed. (Note,
label text should not contain carriage-
returns or any control codes unless
specifically desired for plotting. It is shown
here on two lines (with a Carriage Return)
for convenience only.
SD4,18;FI15;SS: Use the SD command to designate an
18-point font from within HP-GL/2 mode;
then select the PCL font with font ID
number of 15 as the primary font. Then
select the primary font for printing.
LBLaserJetPrinters#; Print “LaserJet Printers” in the newly
selected font.
E
C
%0A Enter the PCL mode.
E
C
E Send a reset to end the job and eject the
page.