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

20-32 The Vector Group EN
Coordinates are interpreted in current units: as user-units
when scaling is on; as plotter units when scaling is off.
Whether the PD command uses coordinates or increments
depends on the most recently executed PA or PR command.
If no PA or PR command is issued, absolute plotting (PA)
is used.
When you use the symbol mode (SM) command, PD 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).
Table 20-20 Example: Using the Pen Down 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. Even though
there is no physical pen, the SP
command must be used to enable
printing.
PA10,10; Begin absolute plotting from
coordinate (10,10).
PD2500,10,10,1500,10,10; Set the Pen Down and draw lines
between the specified points.
E
C
%ØA Enter the PCL mode.
E
C
E Send a reset to end the job and eject
the page.