
9-48 HP PCL Graphics Commands
X, Y coordinates - Specifies the opposite, diagonal corners of the window area, usually the
lower left (LL) and upper right (UR) corners. Coordinates are interpreted in the current
units: as user-units when scaling is on; as plotter units when scaling is off.
When scaling is on, subsequent changes to P1 and P2 move the window in relation to the
physical page, but keep the same user coordinate locations. However, sending a subsequent
SC command binds the window to its equivalent plotter units. The window does not
change with any subsequent IP or IR commands.
When you turn on the printer, the window is automatically set to the PCL Picture Frame
boundaries. You can define a window that extends beyond this picture frame; however, the
printer cannot print vector graphics beyond this effective window. All programmed pen
motion restricted to this area.
Input Relative P1 and P2 (IR)
This command establishes new or default locations for the scaling points P1 and P2
relative to the PCL Picture Frame size. P1 and P2 are used by the scale (SC) command to
establish user-unit scaling. The IR command can also be used in advanced techniques such
as printing mirror-images, enlarging or reducing drawings, enlarging/reducing relative
character size, or changing text direction.
IR
X
P1
,
Y
P1
[X
P2
,
Y
P2
;
] or IR [
;
]
Table 9-35 Input Relative P1 and P2 Command Parameters
Parameter
Format
Functional Range
Default
X
P1
Y
P1
[X
P2,
Y
P2
clamped real
0 to 100%
0,0,100,100%
When P1 and P2 are set using the IR command, the scaled area is page-size independent.
As the PCL Picture Frame changes size, P1 and P2 keep the same relative position within
the PCL Picture Frame boundaries.
No parameters - Defaults P1 and P2 to the lower left and upper-right corners of the PCL
Picture Frame, respectively.
X, Y coordinates - Specifies the location of P1 (and, optionally, P2) as percentages of the
PCL Picture Frame limits (specifying P2 is not required). If P2 is not specified, P2 tracks
P1; the P2 coordinates change so that the distances of X and Y between P1 and P2 remain
the same. This tracking process can cause P2 to locate outside the effective window. Used
carefully, however, the tracking function can be useful for preparing more than one equal-
sized drawing on a page.
Neither X, Y coordinate of P1 can equal the corresponding coordinate of P2. If either
coordinate of P1 equals the corresponding coordinate of P2, the coordinate of P2 is
incremented by 1 plotter unit.
Содержание Intellibar M412
Страница 115: ...9 2 HP PCL Graphics Commands Figure 9 1 Star Shaped Raster Image...
Страница 122: ...HP PCL Graphics Commands 9 9 Figure 9 4 Example of Raster Graphic Image Data...
Страница 126: ...HP PCL Graphics Commands 9 13 Figure 9 6 Shading Levels...
Страница 127: ...9 14 HP PCL Graphics Commands Figure 9 7 Fill Patterns...