USING THE RELATIVE CHARACTER SIZE ( SR ) COMMAND The Relative Character Size ( SR ) command, specifies the size of labeling characters as a percentage of the distance between P1 and P2. For more information see the PCL 5 Printer Language Technical Reference Manual. The syntax for this command is as follows: SR width, height; or SI; 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. IP-6956,-4388,6956,4388; Moves P1 to (-6956,- 4388), and P2 to (6956,4388). DT@; Defines the label terminator as the "@" character. SR;PA0,2700;LBRELATIVE LABEL SIZE@; Defaults the character size as a percentage of the P1/P2 rectangle, and moves the pen to (0,2700); prints "RELATIVE LABEL SIZE". IP0,0,5500,5500;PA0,2000; Moves P1 to (0,0) and P2 to (5500,5500); moves the pen to (0,2000). LBNEW P1 AND P2 CHANGE LABEL SIZE@; Prints "NEW P1 AND P2 CHANGE LABEL SIZE". PA0,1000;SR2.5,2.5; Moves to (0,1000) and sets the character size to 2.5% by 2.5% of the P1/P2 rectangle. LBNEW SR INSTRUCTION@;CP; Prints "NEW SR INSTRUCTION" and sends a CP for Carriage Return/Line Feed. LBCHANGES LABEL SIZE@; Prints "CHANGES LABEL SIZE." 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/lj2079.asc, 2KB, , updated: 1993/11/15 17:26, local time: 2019/3/22 18:32,
|©2019 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/lj2079.asc"> language pcl lj2079</A>
|Did you find what you needed?|
PICList 2019 contributors:
o List host: MIT, Site host massmind.org, Top posters @20190322 RussellMc, David Van Horn, AB Pearce - UKRI STFC, Neil, Allen Mulvey, James Cameron, Dwayne Reid, Manu Abraham, David C Brown, Jim,
* 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!