USING THE LINE ATTRIBUTE COMMAND


     The Line Attributes command specifies how line ends and
     line joins are physically shaped. This command can only
     be used when drawing lines that are thicker than 0.35
     mm. The following example draws an electrical ground
     symbol using the ( LA ) command. For more information
     see the PCL 5 Technical Reference Manual.  The syntax
     for this command is as follows:

     LA kind,value,[kind,value,[kind,value]]; or LA;


     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.

     PA4000,3000;                  Specifies absolute
                                   plotting and moves to
                                   location (4000,3000).

     PW2;LA1,3;PD3500,2500,
     4000,2000;                    Sets the pen width to 2
                                   mm; specifies a
                                   triangular line end,
                                   places the pen down and
                                   draws a line from the
                                   current pen location to
                                   (3500,2500), to
                                   (4000,2000).

     PU3500,2500;LA2,2,3,20;
     PD3000,2500,3000,2300;        Lifts the pen and moves
                                   to (3500,2500);sets the
                                   line join to
                                   mitered/beveled and the
                                   miter limit to 20. Sets
                                   the pen down and draws a
                                   line to (3000,2500), then
                                   to (3000,2300).

     PU2500,2300;LA1,4;PD35002300; Lifts the pen and moves
                                   it to (2500,2300);
                                   specifies round line ends
                                   and draws a line to
                                   (3500,2300).

     PU2700,2100;PD3300,2100;      Lifts the pen and moves
                                   to (2700,2100); sets the
                                   pen down and draws a line
                                   to (3300,2100).

     PU2900,1900;PD3100,1900;      Lifts the pen and moves
                                   to (2900,1900); sets the
                                   pen down and draws a line
                                   to (3100,1900).

     Ec%0A                         Enters PCL mode.

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


          NOTE:  Due to space limitations some of
                 the above lines of code appear
                 on more than one line. When
                 entering them in DOS EDIT they
                 should be placed on one line.


            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.