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

18-6 The Picture Frame EN
Table 18-1 Example: Creating and Using a PCL Picture Frame
E
C
E
Reset the printer.
E
C
&l2A Set the page size to letter.
E
C
&l0O Specify portrait orientation.
E
C
*c3060x3960Y Specify a 4.25-inch wide by 5.5-inch
high PCL Picture Frame (4.25in. x 720
decipoints/in. = 3060 decipoints; 5.5in.
x 720 decipoints/in. = 3960 decipoints).
E
C
*p565x600Y Move the cursor to the point you desire
as the picture frame anchor point.
E
C
*c0T Set the picture frame anchor point to
the current cursor position.
E
C
*c8.5k11L Specify that the original HP-GL/2 plot
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
C
%1B Enter HP-GL/2 mode with the pen
(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).