USING THE PEN WIDTH COMMAND This command specifies a new width for the logical pen. The pen width can be specified as a fixed value or a relative value based on the distance between P1 and P2. The units for measurement in the PW command are selected with the WU command (the default is metric). For more information see the PCL 5 Printer Language Technical Reference Manual. The syntax for the PW command is as follows: PW width,[pen]; or PW; LEGEND: Ec = [Ctrl] [P] [Esc] in DOS EDIT. EcE Resets the printer. Ec%0B Enters HP-GL/2 mode. IN; Initializes HP-GL/2 mode. SP1; Selects pen number 1, (black). Even though there is no physical pen, the SP command must be used to enable printing. PA3500,2500; Specifies absolute plotting and moves to location (3500,2500) PW1.5;PD4500,2800,4500, 1800,3500,1500,3500,2500; Selects a pen width of 1.5 mm. Sets thepen down and draws a line from the current pen position to (4500,2800), to (4500,1800), to (3500,1500), and to (3500,2500). PW.8;PD2300,2900,2300, 1900,3500,1500; Sets the pen width to .8 mm and places the pen down to print a line to (2300,2900) to (2300,1900), and to (3500,1500). PW.5;PU2300,2900;PD3300, 3200,4500,2800; Sets the pen width to .5 mm and puts the pen up to move to (2300,2900). Puts the pen down and draws a line to (3300,3200) to (4500,2800). PW.25;PU4500,1800; PD3500,2100; Sets the pen width to .25 mm and puts the pen up to move to location (4500,1800); puts the pen down to draw a line to (3500,2100). Ec%0A Enters PCL mode. EcE Sends a reset to end the job and eject the page. Note: Due to space limitations, some of the above lines of code appear on more than one line. When entering them in DOS Edit they should be on one line. Copyright Hewlett-Packard Co. 1993 The information contained herein is subject to change without notice. Hewlett-Packard shall not be liable for incidental or consequential damages in connection with the use of this material.
|file: /Techref/language/pcl/lj2008.asc, 3KB, , updated: 1993/11/15 16:20, local time: 2023/11/28 15:52,
|©2023 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.massmind.org/Techref/language/pcl/lj2008.asc"> language pcl lj2008</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to www.massmind.org!