USING THE EXTRA SPACE COMMAND The Extra Space command ( ES ), adjusts space between characters and lines of labels without affecting character size. For more information see the PCL 5 Printer Language Technical Reference Manual. The syntax for this command is as follows: ES width,[height]; or ES; PARAMETERS: Width Specifies an increase (positive number) or decrease (negative number) in the space between characters. Height Specifies an increase (positive number) or decrease (negative number) in the space between lines. 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. PA2500,3200;SI.187,.269; Specifies absolute plotting and moves to (2500,3200); specifies a relative character size of .187 cm wide by .269 cm high. DT#;ES; Defines the "#" character as the label terminator and sets the extra space setting to default (no extra spaces). LBES; CAUSES#; Prints "ES; CAUSES". CP;LBTHIS SPACING.#; Sends a CP command with no parameters, which is equivalent to a Carriage Return and Line Feed; prints "THIS SPACING.". PA2500,2500; Moves to (2500,2500). ES-.1,-.25;LBES-.1,-.25; CAUSES#; Decreases the inter- character spacing by .1 and the inter-line spacing by .25; prints "ES-.1,-.25; CAUSES". CP;LBTHIS SPACING#; Sends a CP command with no parameters, which is equivalent to a Carriage Return and Line Feed; prints "THIS SPACING". PA2500,1800; Moves to (2500,1800). ES.2,.25;LBES.2,.25; CAUSES#; Increases the inter- character spacing by .2 and the inter-line spacing by .25. Then prints "ES.2,.25; CAUSES". CP;LBTHIS SPACING#; Sends a CP command with no parameters, which is equivalent to a Carriage Return and Line Feed. Then prints "THIS SPACING.". 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/lj2022.asc, 4KB, , updated: 1993/11/15 17:23, local time: 2018/10/20 17:38,
|©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/lj2022.asc"> language pcl lj2022</A>
|Did you find what you needed?|
PICList 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20181020 RussellMc, Van Horn, David, Sean Breheny, David C Brown, Isaac M. Bavaresco, Neil, Bob Blick, Harold Hallikainen, John Gardner, AB Pearce - UKRI STFC,
* 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!