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

EN IW, Input Window 19-29
IW, Input Window
This command defines a rectangular area, or window, that
establishes soft-clip limits. Subsequent HP-GL/2 drawing is
restricted to this area. Use IW to restrict printing to a specified
area on the page.
IW X
LL
,Y
LL
,X
UR
,Y
UR
[;] or
IW [;]
The printer interprets the command parameters as follows.
z No Parameters — Resets the soft-clip limits to the PCL Picture
Frame limits.
z X,Y Coordinates — Specify 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.
Table 19-14
Related Commands Group
IP, Input P1 and P2 The Configuration/Status Group
IW, Input Window
RO, Rotate Coordinate System
SC, Scale
Parameter Format Functional Range Default
X
LL
,Y
LL
,X
UR
,Y
UR
current
units
-2
30
to 2
30
- 1 PCL Picture Frame