zSweep Angle — Specifies (in degrees) the angle through which the arc is drawn. A positive angle draws an angle in the positive direction (angle of rotation); a negative angle draws the angle in the negative direction.

zChord Angle — Specifies the chord angle used to draw the arc. The default is a chord angle of 5 degrees. Refer to the Arc Absolute (AA) command discussion (earlier this chapter) for information on setting and determining the chord angle.

Table 20-8 Example: Using Arc Relative to Draw Arcs

ECE

Reset the printer.

EC%ØB

Enter HP-GL/2 mode.

IN;

Initialize HP-GL/2 mode.

 

 

SP1;

Select pen number 1. Even though there is no

 

physical pen, the SP command must be used

 

to enable printing.

 

 

PA1500,1500;PD;

Specify the starting position as (1500,1500)

 

and put the pen down.

 

 

AR0,2000,80,25;

Draw an arc with a center point 0 plu in the X

 

direction and 2000 plu in the Y direction from

 

(1500,1500). Specify the arc section to be 80°

 

(positive angle), with a chord angle of 25°

 

 

AR2000,0,80;

Draw an arc with a center point 2000 plu in the

 

X direction and 0 plu in the Y direction from the

 

current pen position. Specify the arc section to

 

be 80° (positive angle), with a default chord

 

angle (5°).

 

 

EC%ØA

Enter the PCL mode.

ECE

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

20-14The Vector Group

EN

Page 474
Image 474
HP 5961-0509 manual Example Using Arc Relative to Draw Arcs, 20-14The Vector Group