CHANGING THE ANCHOR CORNER The AC command positions the starting point of any fill pattern. By using this command you ensure that the selected fill pattern is positioned as expected within the figure. For more information see the PCL 5 Printer Language Technical Reference Manual. 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. PA3000,3000; Specifies absolute plotting and moves to location (3000,3000). FT3,400,45;RR1000,1000; ER1000,1000; Specifies a fill type of number 3 (parallel lines), with each line 400 plotter units (plu) apart and set at a 45 degree angle. RR fills a rectangle using the current pen location as the lower left corner, and a point 1000 plu to the right and 1000 plu up as the upper right corner. The ER edges the same rectangle just filled. PR1000,0;FT4,400,45;RR1000, 1000;ER1000,1000; Moves 1000 plu to the right, andselects fill type 4 (cross-hatch); then draws a rectangle the same size as the first one, and fills it with the cross-hatch pattern just specified, then edges it with the ER command. PR1000,0;FT3,400,45; RR1000,1000;ER1000,1000; Moves to the right another 1000 plu, and creates another rectangle of the same size, then fills this one with the number 3 fill pattern again. Then edges the rectangle just specified. PA3000,1500;AC3000,1500; RR1000,1000;ER1000,1000; Moves the pen to absolute position (3000,1500), and moves the anchor corner to location (3000,1500). Fills a rectangle with the fill pattern selected (number 3 from the command above), and edges it. PA4000,1500;AC4000,1500; FT4,400,45;RR1000,1000, ER1000,1000; Moves to location (4000,1500) andspecifies the location as the anchor corner. Selects fill type number 4 again, then fills, and edges a rectangle. PA5000,1500;AC5000,1500; FT3,400,45;RR1000,1000; ER1000,1000; Moves to absolute location (5000,1500)and specifies that location as the anchor corner, then selects fill type 3 again, and fills and edges another rectangle. Ec%0A Enters PCL mode. EcE Sends a reset to end the job and eject the page. NOTE: Due to space limitations these lines of code appear on more than one line. When entered into the DOS editor they should appear 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/lj2005.asc, 5KB, , updated: 1993/11/15 17:19, local time: 2024/8/14 15:37,
18.116.88.145:LOG IN
|
©2024 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://massmind.org/techref/language/pcl/lj2005.asc"> language pcl lj2005</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.