please dont rip this site

Hewlett Packard Graphics Language Commands

IP, Input P1 and P2

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

IP [;]

Parameter Format Functional Range Default
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.

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
SC, Scale
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
LB, Label
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.

Related Commands Group
IR, Input Relative P1 and P2 The Configuration/Status Group
IW, Input Window
RO, Rotate Coordinate System
SC, Scale

file: /Techref/language/hpgl/ip.htm, 3KB, , updated: 2001/10/30 16:11, local time: 2024/6/12 11:48,

 ©2024 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?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> HPGL IP Command</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!

Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.

Welcome to!