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 16:23, local time: 2018/1/20 07:25,
|©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/lj2022.asc"> language pcl lj2022</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!