USING THE DEFINE VARIABLE TEXT PATH ( DV ) COMMAND The Define Variable Text Path ( DV ) command determines the text path, the direction that the current location moves after each character is drawn and the direction that the Carriage Return point moves when a Line Feed is included in the label string. For more information see the PCL 5 Printer Language Technical Reference Manual. The syntax for this command is as follows: DV path,[line]; or DV; PARAMETERS: Path Specifies the location of each character with respect to the preceding character, relative to the labeling direction defined by the DI or DR commands. The text path set by DV is not affected by changes in P1 and P2. Line Specifies the location of each character with respect to the preceding character, relative to the labeling direction defined by the DI or DR commands. 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. PA2000,3000;DV1; Specifies absolute plotting and moves to (2000,3000); defines the text path so that each character begins below the previous character (vertical path). DT@; Defines the "@" character as the label terminator (non-printing). LBABC CR-LF@; Print ABC, followed by a Carriage Return-Line Feed (CR-LF). LBDEF LF@; Prints DEF, followed by a Line Feed (LF). LBGHI LF@; Prints GHI, followed by a (LF). LO3; Changes the Label Origin to 3 (the default LO1 was used prior to this). LBJKL@; Prints JKL. LO1; Return to the default label origin (LO1). PA4000,3000;DV0; Moves to (4000,3000), and defines the text path so that each character begins to the right of the previous one (horizontal [default] text path). LBABC CR-LF@; Prints ABC, followed by CR-LF. LBDEF LF@; Prints DEF, followed by Line Feed. LBGHI@; Prints GHI (without CR or LF). 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/lj2021.asc, 4KB, , updated: 1993/11/15 17:23, local time: 2018/7/23 11:09,
|©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.piclist.com/techref/language/pcl/lj2021.asc"> language pcl lj2021</A>
|Did you find what you needed?|
PICList 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20180723 RussellMc, Van Horn, David, Sean Breheny, David C Brown, Isaac M. Bavaresco, Bob Blick, Neil, Denny Esterline, John Gardner, Brent Brown,
* 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!