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

20-44 The Vector Group EN
PR, Plot Relative
This command establishes relative plotting and moves the pen to
specified points, with each move relative to the current pen location.
PR X,Y[,...;]
or
PR [;]
* PR and PE have extended ranges of -2
30
to 2
30
- 1 plotter units. If the current pen
position goes out of this range,the printer ignores HP-GL/2 commands until it
receives an absolute PA or PE coordinate within the extended range.
The printer interprets the parameters as follows:
z No Parameters — Defaults to relative plotting mode for
subsequent commands.
z X, Y (Increments) — Specify incremental moves relative to the
current pen location. When you include more than one relative
coordinate pair, the pen moves to each point in the order given
(relative to the previous point), using the current pen up/down
status. If the pen is up, PR moves the pen to the point; if the pen
is down, PR draws a line to the point. Lines are drawn using the
current line width, type, and attributes.
When you use the symbol mode (SM) command, PR draws
the specified symbol at each X,Y coordinate. When you use
the polygon mode (PM) command, the X,Y coordinates enter
the polygon buffer (and are used when the polygon is edged
or filled).
Coordinates are interpreted in current units: as user-units
when scaling is on; as plotter units when scaling is off.
Parameter Format Functional Range Default
X,Y (increments) current
units
-2
30
to 2
30
- 1 no default