HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II
EN Automatically Adjusting Image Size to Fit the PCL Picture Frame 18-3
Automatically Adjusting Image Size to Fit the PCL
Picture Frame
FrameImported HP-GL/2 drawings can be adjusted automatically to
fit the size of the PCL Picture Frame without changing the locations of
P1 and P2 (in Scale mode, as described earlier). This is called picture
frame scaling.
When using picture frame scaling, specify the HP-GL/2 plot size
unless the drawing is page size-independent (described below).
If a drawing is not page size-independent, the printer will not adjust
the size of the image to fit the picture frame without the HP-GL/2 plot
size command; the drawing and the picture frame are assumed to be
the same size. If a drawing is page size-independent, it automatically
enlarges or reduces to fit within the picture frame without specifying
an HP-GL/2 plot size.
Creating a Page Size-Independent Plot
As mentioned, if an imported HP-GL/2 drawing is page size-
independent, it is adjusted automatically to fit different page sizes
without specifying the HP-GL/2 plot size. For a drawing to be page
size-independent, it must not specify any parameters in absolute
units. This implies that:
z No parameter of any command is in plotter units. The scaled
mode (SC command) must be used exclusively; either the default
locations of P1 and P2 are used, or their positions are specified
with the IR (Input Relative P1 and P2) command. The default
window is used, or the window is specified in user-units (using
the IW command).
z For labels, only the SR (Relative Character Size) mode is used;
the SI (Absolute Character Size) mode is not used.
z The Pen Width selection mode (WU) is specified as relative
instead of metric.
z The pattern length for the Line Type (LT) is specified as relative
instead of metric.
z Scalable fonts are used exclusively.
z The default window is used, or the window is specified in
user-units.
z The DR command (relative direction) is used for label direction
(not DI — absolute direction).