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 17:20, local time: 2019/7/18 11:29,
|©2019 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.piclist.com/techref/language/pcl/lj2008.asc"> language pcl lj2008</A>
|Did you find what you needed?|
PICList 2019 contributors:
o List host: MIT, Site host massmind.org, Top posters @20190718 RussellMc, David Van Horn, AB Pearce - UKRI STFC, Dwayne Reid, Bob Blick, Jason White, David C Brown, James Cameron, Allen Mulvey, Jim,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!