USING EDGE WEDGE WITH PIE CHARTS


     The Edge Wedge ( EW ) command defines and edges a wedge
     using the current pen, line type and attributes to
     outline a wedge. When the command is completed the
     original pen location and up/down status of the pen are
     restored.  For more information see the PCL 5 Printer
     Language Technical Reference Manual.

     LEGEND: Ec = [Ctrl] [P] [Esc] in DOS EDIT.


     EcE                           Resets the printer.

     Ec%0B                         Enters HP-GL/2 mode.

     IN;                           Initializes HP-GL/2 mode.

     SP1;                          Selects pen number 1,
                                   (black). Even though
                                   there is no physical pen,
                                   the SP command must be
                                   used to enable printing.

     SC-3000,3000,-2000,2000,1;    Enters the scaling mode,
                                   specifying P1 as (-3000,-
                                   2000) and P2 as
                                   (3000),2000), using
                                   isotropic scaling.
                                   (Isotropic scaling means
                                   the X and Y units are the
                                   same size.)

     PA0,0;                        Specifies absolute
                                   plotting, then moves to
                                   (0,0).

     EW-1000,90,180;               Draws a wedge section
                                   with a radius of 1000
                                   user-units, a start angle
                                   of 90 degrees and a sweep
                                   angle of 180 degrees. The
                                   minus sign before the
                                   radius (-1000) sets the
                                   zero-degree reference
                                   point to the left side of
                                   the drawing.

     EW-1000,330,120;              Using the same center
                                   point and zero-degree
                                   reference point this
                                   draws a second wedge
                                   section outline starting
                                   at 330 degrees and sweeps
                                   120 degrees.

     PR-60,110;                    Moves the cursor 60 user-
                                   units to the left and 110
                                   user-units up.

     EW-1000,270,60;               From the new center point
                                   location, draws a wedge
                                   using a negative zero-
                                   reference point, starting
                                   at 270 degrees and
                                   sweeping for 60 degrees.

     Ec%0A                         Enters the PCL mode.

     EcE                           Sends a reset to end the
                                   job and eject the page.

            Copyright  Hewlett-Packard Co. 1993
   The information contained herein is subject to change
                      without notice.
   Hewlett-Packard shall not be liable for incidental or
  consequential damages in connection with the use of this
                         material.