Table 18-2 Example: Creating a Simple Drawing (continued)

E %1B

Enter HP-GL/2 mode with the cursor

C

(pen) at the PCL cursor position. In

 

 

this example, the cursor is at the

 

picture frame anchor point (450 dots

 

[1.5 in.] down from the top margin and

 

675 dots [2.25 in.] to the right of the

 

left logical page boundary).

IN;SP1;

Initialize HP-GL/2 command values

 

and select pen number 1 (black). (The

 

IN command moves the pen position

 

from the anchor point to the HP-GL/2

 

origin, the lower-left corner of the PCL

 

Picture Frame.)

SC0,100,0,100;

Set up user scaling so that P1 is (0,0)

 

and P2 is (100,100) (these points are

 

the lower-left and upper-right corners

 

of the PCL Picture Frame,

 

respectively).

PD100,0,100, Draw a box marking the perimeter of

100,0,100,0,0; the PCL Picture Frame.

EN

Default Settings 18-17

Page 413
Image 413
HP 5961-0509 manual INSP1