Table 23-28 Example: Using the FI Command

ECE

Reset the printer.

EC*c15D

Specify a font ID number of 15.

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

 

(15).

 

 

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).

 

 

LBLaserJet

Print “LaserJet Printers” in the currently

Printers CR-LF#;

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.

 

 

EC%0A

Enter the PCL mode.

ECE

Send a reset to end the job and eject the

 

page.

 

 

EN

FI, Select Primary Font 23-55

Page 667
Image 667
HP 5961-0509 manual Example Using the FI Command