HP 5961-0509 manual Upper right corner, A point 40,-25 user-units away as, Opposite corner

Models: 5961-0509

1 762
Download 762 pages 14.67 Kb
Page 537
Image 537

Table 21-12 Example: Using ER to Draw Rectangles (continued)

PA75,105;ER40,25;

Enter absolute plotting mode and move

 

to (75,105). Draw a rectangle using the

 

current pen location as the lower left corner

 

and a point (40,25) user-units away as the

 

upper right corner.

 

 

PR20,0;PD0,-10;

Specify relative plotting and move the pen

 

20 user-units to the right. Place the pen

 

down and draw a line to a point 10

 

user-units down.

 

 

PD-30,0,0,-5;

With the pen down, move 30 user-units to

 

the left and 5 units down.

 

 

PU-20,0;ER40,-25;

Lift the pen and move 20 user-units to the

 

left, then draw the outline of a rectangle

 

with the current pen location as one corner

 

and a point (40,-25) user-units away as

 

the opposite corner.

 

 

PU50,5;PD30,0, 0,-5;

Lift the pen and move 50 user-units to the

 

right and 5 units up. Place the pen down

 

and draw a line 30 user-units to the right,

 

then 5 units down.

 

 

PU20,0;ER-40,-25;

Lift the pen and move 20 user-units to

 

the right. Draw a rectangle from that point,

 

with the current pen location being one

 

corner and the opposite corner being 40

 

user-units to the left and 25 units down.

 

 

?%0A

Enter the PCL mode.

 

 

?E

Send a reset to end the job and eject the

 

page.

 

 

EN

ER, Edge Rectangle Relative 21-25

Page 537
Image 537
HP 5961-0509 Upper right corner, A point 40,-25 user-units away as, Opposite corner, Corner and the opposite corner being