HP LaserJet 4100 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Ref - Page 168
Edge Relative Rectangle Command, Table 21-12, Example: Using ER to Draw Rectangles
View all HP LaserJet 4100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 168 highlights
Figure 21-15Edge Relative Rectangle Command The only difference between the ER command and the RR (Fill Relative Rectangle) command is that the ER command produces an outlined rectangle, and RR, a filled one. The ER command clears the polygon buffer and then uses it to define the rectangle before drawing. Refer to "Drawing Polygons" earlier in this chapter for more information. The following example uses relative coordinates to draw the same image shown in the EA command example. Compare this example with the EA example to understand the differences between the coordinates used. Table 21-12 Example: Using ER to Draw Rectangles ?E Reset the printer. ?%0B Enter HP-GL/2 mode. IN; Initialize HP-GL/2 mode. SP1; Select pen number 1. The SP command must be used to enable printing. SC0,150,0,150,1; Specify user scaling, with P1 being (0,0) and P2 (150,150); the "1" indicates isotropic scaling. 21-24 The Polygon Group EN