USING THE ABSOLUTE DIRECTION ( DI ) COMMAND The Absolute Direction ( DI ) command specifies the slope or direction at which characters are drawn, independent of P1 and P2 settings. For more information see the PCL 5 Printer Language Technical Reference Manual. The syntax for this command is as follows: DI run,rise; or DI; PARAMETERS: Run Specifies the X-component of the label direction. Rise Specifies the Y-component of the label direction. PROGRAM: 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 (3500,2500). DT*; Defines the asterisk (*) as the label terminator. DI1,1;LBDIRECTION CR*; Prints the word "DIRECTION" at a 45 degree angle up to the right; Carriage Return "CR" returns the pen to the Origin (3500,2500). DI1,-1;LBDIRECTION CR*; Prints the same word, at a 45 degree angle up and to the left, followed by a "CR" to return the pen to the origin. DI-1,-1;LBDIRECTION CR*; Prints the same word, at a 45 degree angle down and to the left, followed by a "CR" to return the pen to the origin. DI-1,1;LBDIRECTION CR*; Prints the same word, at a 45 degree angle down and to the right, followed by a "CR" to return the pen to the origin. 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/lj2015.asc, 3KB, , updated: 1993/11/15 16:23, local time: 2018/1/20 07:20,
|©2018 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/lj2015.asc"> language pcl lj2015</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!