please dont rip this site

Language Pcl LJ2004

FILLING THEN EDGING VS EDGING THEN FILLING

     
     When transparency mode ( TR command ) is opaque,
     filling then edging an object may produce different
     results than edging and then filling. This is
     especially true when large pen widths are used. The
     following example illustrates this.  For more
     information see the PCL 5 Printer Language Technical
     Reference Manual.
          
          NOTE:  The following program will draw
                 two circles using different
                 sequences to fill then edge. The
                 circle that is drawn on top is
                 filled then edged, while the
                 circle on the bottom is edged
                 then filled.
     
     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.
     
     TR0;                          Sets transparency mode
                                   off (opaque).
     
     PU4000,6000;                  Moves the pen to
                                   coordinate (4000,6000).
     
     PW5;                          Selects a pen width of 5
                                   plotter units (plu).
     
     PM0;                          Enters polygon mode.
     
     CI1000;                       Draws a circle with a
                                   radius of 1000 plu.
     
     PM2;                          Closes polygon and exits
                                   polygon mode.
     
     FT10,30;                      Selects 30% shading fill
                                   type.
     
     FP;EP;                        Fills then edges the
                                   polygon, (circle).
     
     PU4000,3000;                  Moves the pen to location
                                   (4000,3000).
     
     PM0;                          Enters polygon mode.
     
     CI1000;                       Draws another circle with
                                   a radius of 1000 plu.
     
     PM2;                          Closes the polygon and
                                   exits polygon mode.
     
     EP;FP;                        Edges then fills the
                                   polygon, (circle).
     
     Ec%0A                         Enters 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/lj2004.asc, 3KB, , updated: 1993/11/15 16:19, local time: 2017/12/15 02:06,
TOP NEW HELP FIND: 
54.160.245.121:LOG IN

 ©2017 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.piclist.com/techref/language/pcl/lj2004.asc"> language pcl lj2004</A>

Did you find what you needed?

  PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171215 RussellMc, Van Horn, David, Sean Breheny, James Cameron, alan.b.pearce, IVP, Neil, Bob Blick, David C Brown, John Gardner,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .