USING SCALING EFFECTIVELY WHAT IS SCALING? In HP-GL/2, the standard units of measure are plotter units (plu). These units are equal to 1016 units per inch. Scaling allows you, the user, define an easier value to use. You can define a coordinate system that uses 1 unit per inch, centimeter, millimeter or just a rounder number such as 100, 200, 500, or 1000 units per inch. Overall, scaling lets you define an easier to calculate coordinate system. LEGEND: Ec = [Ctrl] [P] [Esc] in DOS EDIT EcE Resets printer. Ec%0B Enters HP-GL/2 mode using the default picture frame size and anchor point. IN; Initializes HP-GL/2 mode. IP0,0,2000,2000; Sets P1 to (0,0) and P2 to (2000,2000). SC0,10,0,10; Sets up user-unit scaling to range from (0,0) to (10,10). SP1; Selects pen number 1. Even though there is no physical pen, the SP command must be used to enable printing. PA5,5; Begins absolute plotting from the center of the square (5,5). CI3; Prints a circle with a radius of 3 user-units. IP2500,500,3500,1500; Inputs a new P1 and P2 position for printing a smaller circle. PA5,5; Begins absolute plotting from the center of the new square (5,5). CI3; Prints the second circle with a radius of 3 user- units. Ec%0A Enters PCL Mode. EcE Resets the printer to complete 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/lj1831.asc, 2KB, , updated: 1993/11/15 17:09, local time: 2017/10/19 08:15,
|©2017 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/lj1831.asc"> language pcl lj1831</A>
|Did you find what you needed?|
PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171019 RussellMc, Van Horn, David, James Cameron, Sean Breheny, IVP, alan.b.pearce, Neil, David C Brown, Bob Blick, Denny Esterline,
* 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!