DRAWING RECTANGLES USING EA The commands to draw rectangles in HP-GL/2 are EA , Edge Rectangle Absolute , and ER , Edge Rectangle Relative. To use these commands, the printer uses the current pen location for one corner and you give the coordinates for the diagonally opposite corner. This example uses EA to draw the rectangle. 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. PA10,10; Specifies absolute plotting, then moves to (10,10). EA2500,1500; Draws the outline of a rectangle with the lower left corner being the current pen location, (10,10), and the upper right corner being (2500,1500). 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/lj1903.asc, 2KB, , updated: 1993/11/15 17:16, local time: 2024/10/9 14:29,
98.80.143.34:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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://www.piclist.com/Techref/language/pcl/lj1903.asc"> language pcl lj1903</A> |
Did you find what you needed? |
PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found - 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! |
.