HP LaserJet 4100 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Ref - Page 216
Table 22-9, Example: Using the LA Command, line end, place the pen down, and draw from
View all HP LaserJet 4100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 216 highlights
The following example draws an electrical ground symbol using the LA command. Table 22-9 Example: Using the LA Command ?E Reset the printer. ?%0B IN; SP1; PA4000,3000; Enter HP-GL/2 mode. Initialize HP-GL/2 mode. Select pen number 1. Even though there is no physical pen, the SP command must be used to enable printing. Specify absolute plotting and move the pen to (4000,3000). PW2;LA1,3; PD3500,2500, 4000,2000; PU3500,2500; LA2,2,3,20; PD3000,2500, 3000,2300; PU2500,2300; LA1,4; PD3500,2300; PU2700,2100; PD3300,2100; PU2900,1900; PD3100,1900; ?%0A ?E Set the pen width to 2 mm; specify a triangular line end, place the pen down, and draw from the current location to (3500,2500), then to (4000,2000). Lift the pen and move to (3500,2500); set the line join to mitered/beveled and the miter limit to 20; set the pen down and draw a line to (3000,2500), then to (3000,2300). Lift the pen and move it to (2500,2300); specify round line ends and draw a line to (3500,2300). Lift the pen and move to (2700,2100), then set the pen down and draw a line to (3300,2100). Lift the pen and move to (2900,1900), then draw a line to (3100,1900). Enter the PCL mode. Send a reset to end the job and eject the page. 22-20 The Line and Fill Attributes Group EN