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

ECE

Reset the printer.

EC%Ø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).

 

 

EC%ØA

Enter the PCL mode.

ECE

Send a reset to end the job and eject the page.

20-4The Vector Group

EN

Page 464
Image 464
HP 5961-0509 manual Example Drawing Circles, Øb, Øa, 20-4The Vector Group