HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II
EN IW, Input Window 19-31
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 
OF IW@;
Print a label beginning at (2000,3200). 
(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 
OF IW@;
Print the same label at (2000,1700). (This 
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
E
C
%0A
Enter PCL Mode.
E
C
E
Reset the printer to end the job and eject 
the page.
Table 19-15 Example: The IW Command (continued)










