HP 5961-0509 manual Example Changing the Size of a Drawing, EC%0B

Models: 5961-0509

1 762
Download 762 pages 14.67 Kb
Page 423
Image 423

Table 19-2 Example: Changing the Size of a Drawing

EC%0B

Enter HP-GL/2 mode, using the default

 

picture frame size and anchor point.

 

 

IN;

Initialize HP-GL/2 mode.

 

 

IP0,0,2000,2000;

Set P1 to be (0,0) and P2 to be

 

(2000,2000).

 

 

SC0,10,0,10;

Set up user-unit scaling to range from

 

(0,0) to (10,10).

 

 

SP1;

Select pen number 1. Even though there

 

is no physical pen, the SP command

 

must be used to enable printing.

 

 

PA5,5;

Begin absolute plotting from the center of

 

the square (5,5).

 

 

CI3;

Print a circle with a radius of 3 user-units.

 

 

IP2500,500,3500,1500;

Input a new P1 and P2 position for

 

printing the smaller circle.

 

 

PA5,5;

Begin absolute plotting from the center of

 

the new square (5,5).

 

 

CI3;

Print the second circle with a radius of

 

3 user-units.

 

 

EC%0A

Enter PCL Mode.

ECE

Reset the printer to complete the job and

 

eject the page.

 

 

EN

Using Scaling Effectively 19-9

Page 423
Image 423
HP 5961-0509 manual Example Changing the Size of a Drawing, EC%0B