Table 21-5 Example: Drawing Wedges (continued)

EW600,90,60;

Draw the outline of a wedge, using the current

 

pen location (2500,3500) as the point of the

 

wedge. The wedge has a radius of 600 plotter

 

units, begins at 90° from the default

 

zero-degree reference point, and “sweeps” for

 

60°.

 

 

?%0A

Enter the PCL mode.

 

 

?E

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

 

 

Figure 21-5

The following example uses different fill types with wedges and circles.

Table 21-6 Example: Filling Wedges and Circles

?E

Reset the printer.

 

 

?%0B

Enter HP-GL/2 mode.

 

 

IN;

Initialize HP-GL/2 mode.

 

 

SP1;

Select pen number 1 (black).

 

 

PA1400,2500;

Select absolute plotting mode and

 

move to (1400,2500).

 

 

WG600,150,120;

Fill a wedge with radius 600 plu, a

 

start angle of 150°, and a sweep

 

angle of 120°. Since no fill type was

 

specified, the wedge is black (solid

 

black is the default fill type).

 

 

21-8The Polygon Group

EN

Page 520
Image 520
HP 5961-0509 manual Example Filling Wedges and Circles, 21-8The Polygon Group