please dont rip this site

Language Pcl LJ1914.ASC

USING  THE PM COMMAND

     
     The Polygon Mode ( PM ) command is used to define
     shapes, such as block letters or any unique area. After
     the shape has been defined, you need to exit polygon
     mode to fill and/or edge the polygon the is stored in
     the buffer.  For more information see the PCL 5 Printer
     Language Technical Reference Manual.
     
          NOTE:  This set of HP-GL/2 commands
                 draws a picture of an electrical
                 outlet.
     
     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.
     
     PA2000,2000;                  Specifies absolute
                                   plotting, then moves to
                                   (2000,2000).
     
     PM0;PD3000,2000,3000,3000;    Enters polygon mode,
                                   stores a Pen Down
                                   command, at locations
                                   (3000,2000), and
                                   (3000,3000).
     
     PD2000,3000,2000,2000;        Stores two more
                                   locations, (2000,3000),
                                   and (2000,2000).
     
     PM1;                          Closes the first polygon.
     
     PD2080,2160,2480,2160,2480,
     2340,2080,2340,2080,2160;     Stores 5 locations for a
                                   subpolygon.
     
     PM1;                          Closes the subpolygon.
     
     PD2080,2660,2480,2660,2480,
     2840,2080,2840,2080,2660;     Stores 5 more locations
                                   for another subpolygon.
     
     PM1;                          Closes the second
                                   subpolygon.
     
     PD2920,2340,2920,2660,2720,
     2660;                         Begins a third subpolygon
                                   that draws the ground
                                   plug portion of the
                                   receptacle.
     
     AA2720,2500,180;PD2920,2340;  Stores a 180 degree arc
                                   that begins at
                                   (2720,2660), the previous
                                   current pen location, and
                                   ends at (2720,2500).
                                   Draws a line to
                                   2920,2340.
     
     PM2;FP;EP;                    Closes the subpolygon,
                                   and exits polygon mode.
                                   "FP" fills the polygon,
                                   using the even/odd
                                   default method, and "EP"
                                   edges the polygon and
                                   subpolygons currently
                                   stored in the buffer.
     
          NOTE:  The Even/Odd fill method of FP
                 is the default.  To determine
                 which portions of a single
                 polygon or a series of
                 subpolygons are filled when you
                 send a FP command, simply draw a
                 straight line extending from any
                 point within an enclosed area of
                 the polygon to a point outside
                 the polygon. FP fills the
                 enclosed area in question only
                 if the line you have drawn
                 intersects the edges of the
                 polygon an odd number of times.
                 For a visual example of this
                 please see page 21-15 of the
                 Updated PCL 5 Printer Language
                 Technical Reference Manual.
     
     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.

     


file: /Techref/language/pcl/lj1914.asc, 4KB, , updated: 1993/11/15 17:18, local time: 2024/4/18 04:58,
TOP NEW HELP FIND: 
18.223.43.142:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.massmind.org/techref/language/pcl/lj1914.asc"> language pcl lj1914</A>

Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to www.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .