HP LaserJet 4100 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Ref - Page 163
Table 21-8, Example: Using EA to Draw Rectangles continued, PU145, 90;EA105
View all HP LaserJet 4100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 163 highlights
Table 21-8 Example: Using EA to Draw Rectangles (continued) SP1; SC0,150,0,150,1; PA75,105; EA115,130; PA95,105;PD95,95; Select pen number 1. Even though there is no physical pen, the SP command must be used to enable printing. Set up user scaling, with P1 being (0,0) user-units and P2 being (150,150) user-units. (Isotropic scaling is specified.) Specify absolute plotting mode and move to (75,105). Use EA to outline the shape of a rectangle that begins at (75,105) and has an upper right corner of (115,130) user-units. Draw a line from (95,105) to (95,95). PD65,95,65,90; PU45,90;EA85,65; PU95,95;PD125, 95,125,90; PU145,90;EA105,65; ?%0A ?E Draw a line from the current pen location (95,95) to (65,95), and another line from there to (65,90). Lift the pen and move to (45,90). Draw the outline of a rectangle with an upper left corner of (45,90) and a lower right corner of (85,65). Lift the pen and move to (95,95). Lower the pen and draw a line to (125,95), then to (125,90). Lift the pen and move to (145,90). Draw the outline of a rectangle, with the upper right corner at (145,90) and the lower left corner at (105,65). Enter the PCL mode. Send a reset to end the job and eject the page. EN EA, Edge Rectangle Absolute 21-19