Table 19-15 Example: The IW Command (continued)

SP1;

Select pen number 1. Even though there

 

is no physical pen, the SP command must

 

be used to enable printing.

 

 

SI.2,.35;

Set Absolute Character Size to .2 x .35 cm.

 

 

PA2000,3200;

Specify absolute plotting and move to

 

location (2000,3200) (plotter units).

 

 

DT@,1;

Define label terminator to be the “@”

 

character, without printing the character.

 

 

LBTHIS IS AN EXAMPLE

Print a label beginning at (2000,3200).

OF IW@;

(The label on the left is shown on two

 

lines —with a Carriage Return in the

 

middle of the text— for convenience in

 

this example. In an actual command

 

sequence, this label text should be all on

 

one line to print as shown in the plot at

 

the end of this example.)

 

 

IW3000,1300,4500,3700;

Specify a soft-clip window (in plotter units).

 

 

PD2000,1700

Pen Down; print a line from the current

 

pen position to (2000,1700). Current pen

 

position at start of command is at the

 

letter W baseline.

 

 

LBTHIS IS AN EXAMPLE

Print the same label at (2000,1700). (This

OF IW@;

label should not contain carriage returns

 

to print as shown in the plot for this

 

example.)

 

 

PU3000,1300;

Pen Up and move to position (3000,1300).

 

 

PD4500,1300,4500,3700;

Pen Down and begin drawing box

 

indicating the soft-clip window.

 

 

PD3000,3700,3000,1300;

Finish drawing the soft-clip window box

 

 

PU;

Pen Up

 

 

EC%0A

Enter PCL Mode.

ECE

Reset the printer to end the job and eject

 

the page.

 

 

EN

IW, Input Window 19-31

Page 445
Image 445
HP 5961-0509 manual Lbthis is AN Example, Iw@