HP LaserJet 4100 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Ref - Page 169
PU-20, 0;ER40
View all HP LaserJet 4100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 169 highlights
Table 21-12 Example: Using ER to Draw Rectangles (continued) PA75,105;ER40,25; Enter absolute plotting mode and move to (75,105). Draw a rectangle using the current pen location as the lower left corner and a point (40,25) user-units away as the upper right corner. PR20,0;PD0,-10; Specify relative plotting and move the pen 20 user-units to the right. Place the pen down and draw a line to a point 10 user-units down. PD-30,0,0,-5; With the pen down, move 30 user-units to the left and 5 units down. PU-20,0;ER40,-25; Lift the pen and move 20 user-units to the left, then draw the outline of a rectangle with the current pen location as one corner and a point (40,-25) user-units away as the opposite corner. PU50,5;PD30,0, 0,-5; Lift the pen and move 50 user-units to the right and 5 units up. Place the pen down and draw a line 30 user-units to the right, then 5 units down. PU20,0;ER-40,-25; Lift the pen and move 20 user-units to the right. Draw a rectangle from that point, with the current pen location being one corner and the opposite corner being 40 user-units to the left and 25 units down. ?%0A Enter the PCL mode. ?E Send a reset to end the job and eject the page. EN ER, Edge Rectangle Relative 21-25