HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II
19-26 The Configuration and Status Group EN
IR, Input Relative P1 and P2
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.
IR can also be used in advanced techniques such as printing
mirror-images, enlarging/reducing drawings, and enlarging/reducing
relative character size, or changing label (text) direction.
IR X
P1
,Y
P1
,[X
P2
,Y
P2
;] or
IR [;]
When P1 and P2 are set using IR, 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.
z No Parameters — Defaults P1 and P2 to the lower-left and
upper-right corners of the PCL Picture Frame, respectively.
z X,Y Coordinates — Specify 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, the
tracking function can be useful for preparing more than one
equal-sized drawing on a page. For an example, refer to
“Drawing Equal-Sized Pictures on a Page” earlier in this chapter.
z 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.
Parameter Format
Functional
Range Default
X
P1
Y
P1
[X
P2
Y
P2
;] clamped real 0 to 100% 0,0,100,100%