Brother HL-Series Technical Reference Manual page 281

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96
IW - Window
IW [ X
, Y
1
X
-Window lower left X coordinate
1
X
-Window upper right X coordinate Y
2
• This instruction sets the window inside which drawing can be performed (the soft clip limits).
• Coordinates are specified in current units.
• Using this instruction with no parameters sets the window to be the same as the picture frame.
• You can set the corners of the window to lie outside the picture frame. However, only the portion of the
image which lies within both the picture frame and the window will appear on the page.
• If scaling is turned on with the SC command before the window is defined with the IW command, you can
move the window on the physical page by specifying different locations for P1 and P2 with the IP and IR
commands. The user unit coordinates that bound the window remain the same.
• If an SC command is used after the IW window definition, the window is fixed on the physical page and
does not move when subsequent IP and IR commands are invoked.
• An IW command remains in effect until another IW command is issued, until default settings are restored
with the DF command, or until the printer is initialized with an IN command.
10 '--Input Window--
20 WIDTH "LPT1:",255
30 LPRINT CHR$(27);"E";
40 LPRINT CHR$(27);"%0B";
50 LPRINT "IN;SP1;";
60 LPRINT "SI0.2,0.35,PA2000,3200;;LBTHIS IS AN EXAMPLE OF IW";CHR$(3)
70 LPRINT "IW3000,1300,4500,3700;PD2000,1700;LBTHIS IS AN EXAMPLE OF
IW";CHR$(3)
80 LPRINT "PU3000,1300;PD4500,1300,4500,3700;PD3000,3700,3000,1300;PU;"
90 LPRINT CHR$(27);"%0A";
100 LPRINT CHR$(27);"E";
110 END
<Sample 22>
, X
, Y
] [;]
1
2
2
Y
Chapter 8 "HP-GL2" 15
-Window lower left Y coordinate
1
-Window upper right Y coordinate
2

Advertisement

Table of Contents
loading

Table of Contents