USING ARC RELATIVE TO DRAW ARCS


     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.

     PA1500,1500;PD;               Specifies the starting
                                   position as (1500,1500)
                                   and puts the pen down.

     AR0,2000,80,25;               Draws an arc with a
                                   center point 0 Plotter
                                   Units (PLU) in the X
                                   direction and 2000 PLU in
                                   the Y direction from
                                   (1500,1500). Then it
                                   specifies an arc section
                                   to be 80 degrees
                                   (positive angle), with a
                                   chord angle of 25
                                   degrees.

     AR2000,0,80;                  Draws an arc with a
                                   center point 2000 PLU in
                                   the X direction and 0 PLU
                                   in the Y direction from
                                   the current pen position.
                                   Then specifies the arc
                                   section to be 80 degrees
                                   (positive angle), with a
                                   default chord angle of 5
                                   degrees.

     Ec%0A                         Enters PCL mode.

     EcE                           Send 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.