HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II
EN RA, Fill Rectangle Absolute 21-39
RA, Fill Rectangle Absolute
This command defines and fills a rectangle using absolute
coordinates. Use RA to fill rectangular shapes in drawings.
(To outline a rectangle using absolute coordinates, use the
EA command.)
RA X,Y[;]
The RA command defines and fills a rectangle using the current pen,
the current line and fill types, and absolute X,Y coordinates. The RA
command includes an automatic pen down. When the command
operation is complete, the original pen location and up/down status
are restored.
z X,Y Coordinates — Specify the corner of the rectangle that is
diagonally opposite from the current pen location (the starting
point of the rectangle). Coordinates are interpreted in current
units: as user-units when scaling is on; as plotter units when
scaling is off.
Note The following illustration shows the current pen location in the
lower-left corner and the command’s X,Y coordinates in the
upper-right corner. Depending on the X,Y coordinates used,
these points can be in any two diagonally opposite corners.
Figure 21-22Fill Rectangle Absolute
Parameter Format Functional Range Default
X,Y coordinates current units -2
30
to 2
30
- 1 no default