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

E

E

Reset the printer.

C

 

 

E

&l2A

Set the page size to letter.

C

 

 

E

&l0O

Specify portrait orientation.

C

 

 

E

*c3060x3960Y

Specify a 4.25-inch wide by 5.5-inch

C

 

high PCL Picture Frame (4.25in. x 720

 

 

 

 

decipoints/in. = 3060 decipoints; 5.5in.

 

 

x 720 decipoints/in. = 3960 decipoints).

E

*p565x600Y

Move the cursor to the point you desire

C

 

as the picture frame anchor point.

 

 

E

*c0T

Set the picture frame anchor point to

C

 

the current cursor position.

 

 

E

*c8.5k11L

Specify that the original HP-GL/2 plot

C

 

size is 8.5 inches wide by 11 inches

 

 

 

 

high. This sets up a scaling factor of 2:1

 

 

because the original HP-GL/2 plot size

 

 

is twice as large as the PCL Picture

 

 

Frame (4.25 x 5.5 inches). (If you are

 

 

creating a drawing within an application

 

 

instead of importing an existing plot, do

 

 

not send this command.)

E

%1B

Enter HP-GL/2 mode with the pen

C

 

(HP-GL/2 cursor) at the PCL cursor

 

 

 

 

position. In this example, the cursor

 

 

would be at the picture frame anchor

 

 

point (600 PCL Units down from the top

 

 

of the logical page and 565 PCL Units

 

 

to the right of the left logical page

 

 

boundary).

18-6The Picture Frame

EN

Page 402
Image 402
HP 5961-0509 manual Example Creating and Using a PCL Picture Frame, 18-6The Picture Frame