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

20-50 The Vector Group EN
SP1; Select pen number 1. Even though
there is no physical pen, the SP
command must be used to enable
printing.
PA1000,100; Specify the absolute point (1000,100)
as the starting location.
PR;PD1500,0; Specify relative plotting, pen down,
and draw (1500,0) relative plotter
units from the current pen location
(1000,100).
PU-1850,1050; PD350,0; Lift the pen, move (-1850,1050)
relative coordinates, place the pen
down, and draw a line 350 plu in the
Xdirection.
PU-350,-700; PD350,0; Lift the pen, move (-350,-700) plu from
the current location, place the pen
down, and draw a line 350 plu in the X
direction.
PU0,-350;PD0,
1500,1500,0;
Lift the pen, move 350 plu to the left,
place the pen down, draw a line 1500
plu up and then another line 1500
units to the right.
RT700,-750,0,-1500; Draw an arc from the current pen
position through a point (700,-750) plu
away, with an ending point (0,-1500)
plu from the beginning of the arc.
PU700,850;PD; Lift the pen and move it (700,850) plu
from the current pen position; pen
down.
Table 20-31 Example: Using the RT Command (Relative Arc
Three Point) (continued)