This command establishes new or default locations for the scaling points P1 and P2. P1 and P2 are used by the Scale (SC) command to establish user-unit scaling. You can also use IP in advanced techniques such as printing mirror-images, enlarging/reducing drawings, and enlarging/reducing relative character size, or changing label direction (see the previous discussion in this chapter).
IP XP1,YP1[,XP2,YP2;] or
|XP1YP1[,XP2,YP2;]||integer||-230 to 230 - 1||(see below)|
The default location of P1 is the lower-left corner of the PCL Picture Frame; the default location of P2 is the upper-right corner. (The default picture frame extends from the top margin to the bottom margin, and from the left edge to the right edge of the logical page.)
Note: If an IP command without parameters is executed after the axes are rotated with the RO command, P1 and P2 locations change to reflect the rotation. If the coordinate system orientation subsequently changes (e.g., by sending an RO command), the plotter unit position is maintained with respect to the new orientation.
Neither X,Y coordinate of P1 can equal the corresponding coordinate of P2. If either coordinate of P1 equals the corresponding coordinate of P2, the coordinate of P2 is incremented by 1 plotter unit.
The locations of P1 and P2 interact with the following commands:
|Commands Affected by P1/P2||Group|
|IW, Input Window||The Configuration/Status Group|
|RO, Rotate Coordinate System|
|FT, Fill Type||The Line and Fill Attributes Group|
|LT, Line Type|
|PW, Pen Width|
|WU, Pen Width Unit Selection|
|DR, Relative Direction||The Character Group|
|SR, Relative Character Size|
An IP command remains in effect until another IP command is executed, an IR command is executed, or the printer is initialized.
|IR, Input Relative P1 and P2||The Configuration/Status Group|
|IW, Input Window|
|RO, Rotate Coordinate System|
|file: /Techref/language/hpgl/ip.htm, 3KB, , updated: 2001/10/30 15:11, local time: 2018/2/21 21:17,
|©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/hpgl/ip.htm"> HPGL IP Command</A>
|Did you find what you needed?|
PICList 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20180221 RussellMc, Sean Breheny, Van Horn, David, David C Brown, Isaac M. Bavaresco, Darron Black, Harold Hallikainen, alan.b.pearce, John Gardner, Mario,
* 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!