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

20-4 The Vector Group EN
Note Any line drawn along the border of the effective window causes the
line to be clipped, producing a line width of one-half of what it should
be. For example, in the above plot, the lines from (0,0) to (0,1500),
and (0,0) to (2500,0) is clipped.
Drawing Circles
The Circle (CI) command uses your current pen position as the center
of the circle; you specify the radius of the circle.
The following example shows a simple command sequence using CI
to draw a circle with a radius of 500 plotter units.
Table 20-3 Example: Drawing Circles
E
C
E Reset the printer.
E
C
%ØB Enter HP-GL/2 mode.
IN; Initialize HP-GL/2.
SP1; Select pen number 1. The SP command must
be used to enable printing.
PA2400,2500; Specify absolute plotting and move to position
(2400,2500).
CI500; Draw a circle with a radius of 500 plu (plotter
units); the center of the circle is the current pen
location (2400,2500).
E
C
%ØA Enter the PCL mode.
E
C
E Send a reset to end the job and eject the page.