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

ECE

Reset the printer.

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

 

 

EN

Drawing Arcs 20-5

Page 465
Image 465
HP 5961-0509 manual Example Drawing Arcs, To enable printing