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:

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

zFor labels, only the SR (Relative Character Size) mode is used; the SI (Absolute Character Size) mode is not used.

zThe Pen Width selection mode (WU) is specified as relative instead of metric.

zThe pattern length for the Line Type (LT) is specified as relative instead of metric.

zScalable fonts are used exclusively.

zThe default window is used, or the window is specified in user-units.

zThe DR command (relative direction) is used for label direction (not DI — absolute direction).

EN

Automatically Adjusting Image Size to Fit the PCL Picture Frame 18-3

Page 399
Image 399
HP 5961-0509 manual Creating a Page Size-Independent Plot