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

20-2 The Vector Group EN
Drawing Lines
You can draw lines between two points (X,Y coordinate pairs) using
the PD (Pen Down) command and a series of absolute and/or relative
coordinate pairs. The printer draws only the portion of the line that
falls within the effective window.
Note When using HP-GL/2 to draw lines, you can increase your printer’s
throughput by using the Polyline Encoded (PE) command to send
coordinates. The PE command requires that you convert coordinates
from decimal to base 64 or 32. This conversion especially increases
throughput when using a serial interface. The PE command, with its
parameters, is used in place of the PA, PD, PR, and PU commands.
PA, Plot Absolute Enables movement to
absolute coordinate locations
(with respect to the origin
[0,0]).
PD, Pen Down Lowers the "pen" to the page.
PE, Polyline Encoded Increases throughput by
encrypting common HP-GL/2
commands.
PR, Plot Relative Enables movement relative to
the current pen location.
PU, Pen Up Lifts the pen from the page.
RT, Relative Arc Three Point Draws an arc from the current
pen location through two
relative points.
Table 20-1 The Vector Group Commands (continued)