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

EN Drawing Arcs 20-5
Figure 20-2 Drawing circles
Drawing Arcs
The Arc Absolute (AA) and Arc Relative (AR) commands use the
following method for drawing arcs. Your current pen location becomes
one end of the arc; you specify the center point with one parameter
(setting the radius), and set another parameter to specify the number
of degrees through which you want the arc drawn.
The following illustration shows a simple command sequence using
the AA command to draw a circle and an arc:
Table 20-4 Example: Drawing Arcs
E
C
E Reset the printer.
E
C
%ØB Enter HP-GL/2 mode.
IN; Initialize HP-GL/2.
SP1; Select pen number 1. Even though there is no
physical pen, the SP command must be used
to enable printing.
PA4200,2900;PD; Set starting point to (4200,2900) and set pen
down.