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

21-8 The Polygon Group EN
Figure 21-5
The following example uses different fill types with wedges and
circles.
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.
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).
Table 21-5 Example: Drawing Wedges (continued)