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

EN PR, Plot Relative 20-45
Figure 20-20
Note If an odd number of coordinates is specified (an X coordinate without
a corresponding Y coordinate), the printer ignores the last unmatched
coordinate.
Table 20-28 Example: Using the PR Command
E
C
E Reset the printer.
E
C
%ØB Enter HP-GL/2 mode.
IN; Initialize HP-GL/2 mode.
SP1; Select pen number 1. The SP command must
be used to enable printing.
PA10,10;PD; Move to absolute position (10,10) and put the
pen down.
PR2500,0,-2500,
1500,0,-1500;
Specify relative plotting and draw lines
beginning at (10,10) and then moving the
relative coordinate distances indicated.
E
C
%ØA Enter the PCL mode.
E
C
E Send a reset to end the job and eject the page.