HP LaserJet 4100 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Ref - Page 165
EP, Edge Polygon, the EA, ER, EW, RA, RR, and WG commands. EP accesses the data
View all HP LaserJet 4100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 165 highlights
EP, Edge Polygon This command outlines the polygon currently stored in the polygon buffer. Use EP to edge polygons that you defined in polygon mode and with the Fill Rectangle and Wedge Commands (RA, RR, and WG). EP [;] The EP command outlines any polygon that is currently in the polygon buffer. This includes wedges and rectangles defined using the EA, ER, EW, RA, RR, and WG commands. EP accesses the data in the polygon buffer, but does not clear the buffer or change the data in any way. The EP command only edges between points that were defined with the pen down, using the current pen, line type and attributes. When the command execution is complete, the original pen location and up/down status are restored. The following example creates a shape in polygon mode, then uses EP to outline it. Table 21-10 Example: Using the EP Command ?E Reset the printer. ?%0B Enter HP-GL/2 mode. IN; Initialize HP-GL/2 mode. SP1; Select pen number 1 (black). PA2000,10; Specify absolute plotting and move to position (2000,10). PM0;PD10,2000,10,10, 2000,10;PM1; Enter polygon mode, store a pen down command, and then store points (10,2000), (10,10), and (2000,10). Close the polygon. PU610,610; CI500;PM2; While still in polygon mode, lift the pen and move to (610,610). Draw a circle with a diameter of 500 plu, then close the current subpolygon and exit polygon mode. EN EP, Edge Polygon 21-21