Table 18-1 Example: Creating and Using a PCL Picture Frame

IN;SP1;PU50,50;

Send the HP-GL/2 commands you

 

 

desire to send. (The IN command

 

 

defaults the pen position to the

 

 

HP-GL/2 origin, the lower-left corner

 

 

of the PCL Picture Frame.)

E

%1A

Enter the PCL mode with the cursor at

C

 

the current HP-GL/2 pen position.

 

 

TextTextText

Send some text or more PCL

 

 

commands.

E

E

Reset the printer to end the job and

C

 

 

eject a page.

Figure 18-2

The previous example provides an idea of the commands involved in printing an HP-GL/2 plot, whether importing an existing drawing or creating one within an application. The example describes one way to print a plot, but many things can be varied such as the picture frame size and location, and the cursor position when entering and leaving HP-GL/2 mode.

EN

Typical HP-GL/2 PlotCommand Sequence 18-7

Page 403
Image 403
HP 5961-0509 manual Current HP-GL/2 pen position