Table 20-28 Example: Using the PR Command

ECE

Reset the printer.

EC%ØB

Enter HP-GL/2 mode.

IN;

Initialize HP-GL/2 mode.

 

 

 

SP1;

Select pen number 1. The SP command must

 

be used to enable printing.

 

 

 

PA10,10;PD;

Move to absolute position (10,10) and put the

 

pen down.

 

 

 

PR2500,0,-2500,

Specify relative plotting and draw lines

1500,0,-1500;

beginning at (10,10) and then moving the

 

relative coordinate distances indicated.

 

 

 

EC%ØA

Enter the PCL mode.

ECE

Send a reset to end the job and eject the page.

 

 

 

 

 

 

 

Figure 20-20

 

 

Note

If an odd number of coordinates is specified (an X coordinate without

 

a corresponding Y coordinate), the printer ignores the last unmatched

 

coordinate.

 

 

EN

PR, Plot Relative 20-45

Page 505
Image 505
HP 5961-0509 manual Example Using the PR Command, Coordinate