USING EDGE RECTANGLE ABSOLUTE ( EA ) TO DRAW RECTANGLES The Edge Rectangle Absolute ( EA ) command defines and outlines a rectangle using absolute coordinates using the current pen location and a point you specify as the two opposite corners of a 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. SC0,150,0,150,1; Sets up user scaling, with P1 being (0,0) user- units, (as opposed to plotter units), and P2 being (150,150) user- units. (The 1 on the end specifies isotropic scaling, or that the units on the X and Y axis are the same size). PA75,105;EA115,130 Selects absolute plotting mode and moves the pen to (75,105). Using the EA command will outline the shape of a rectangle that begins at (75,105) and has an upper right corner of (115,130) user-units. PA95,105;PD95,95; Draws a line form (95,105) to (95,95). PD65,95,65,90; Draws a line from the current pen location (95,95) to (65,95), and another line from there to (65,90). PU45,90;EA85,65; Lifts the pen and moves to (45,90), then draws the outline of a rectangle with an upper left corner of (45,90) and a lower right corner of (85,65). PU95,95;PD125,95,125,90; Lifts the pen and moves to (95,95), lowers the pen and draws a line to (125,95), then to (125,90). PU145,90;EA105,65; Lifts the pen and moves it to (145,90). Draws the outline of a rectangle, with the upper right corner at (145,90) and the lower left corner at (105,65). Ec%0A Enters the 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/lj1878.asc, 3KB, , updated: 1993/11/15 17:12, local time: 2022/6/26 10:00,
|©2022 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/lj1878.asc"> language pcl lj1878</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to www.massmind.org!