USING FILL RECTANGLE RELATIVE The Fill Rectangle Relative ( RR ) command, defines and fills a rectangle using the current pen, the current line and fill types and relative X, Y, coordinates. The RR command includes an automatic pen down, and when the operation is complete, the original pen location and up/down status are restored For more information see the Updated 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. PA400,400;RR400,800; Specifies absolute plotting, then moves to (400,400); fills a rectangle with the default fill color of black, with (400,400) as the lower left corner and the upper right corner, 400 plotter units (plu) to the right and 800 plu up from there. PR0,800;FT3,50;RR400,400; Enters the relative plotting mode and moves 800 plu in the Y direction; selects fill type 3 (parallel lines), with 50 plu between each line; fills a rectangle with the fill type just specified, with the current pen location as the lower left corner, and the upper right corner 400 plu to the right and 400 plu up from there. PR0,400;FT4;RR400,400; Moves 400 plu up and selects fill type 4 (cross-hatching); draws a rectangle using the current pen position as the lower left corner and a point 400 plu to the right and 400 plu up as the upper right corner. PA1200,400;FT;RR400,800; ER400,800; Moves to absolute location (1200,400) and selects the default fill type (solid black); draws and edges a rectangle that begins at the current pen position and extends 400 plu to the right, and 800 plu up from there. PR0,800;FT3,50;RR400,400; ER400,400; Moves 800 plu up from the current position an selects fill type 3 (parallel lines), with 50 plu between each line; draws and edges a rectangle using the current pen location as the lower left corner, and a point 400 plu up and 400 plu to the right as the upper right corner. PR0,400;FT4;RR400,400; ER400,400; Moves 400 plu up from the current pen position; selects fill type 4 (cross-hatching); draws and edges a rectangle using the current pen location as the lower left corner, and the right corner location is 400 plu to the right and 400 plu up from there. Ec%0A Enters PCL mode. EcE Sends a reset to end the job and eject the page. 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/lj2002.asc, 5KB, , updated: 1993/11/15 16:18, local time: 2019/2/22 10:25,
|©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.sxlist.com/techref/language/pcl/lj2002.asc"> language pcl lj2002</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!