Brother HL-Series Technical Reference Manual page 305

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

Advertisement

Revision C 16/01/96
RF - Raster Fill Definition
RF [ i [, w , h , p [,...]]] [;]
i : index
p: pen number
• This command defines a rectangular pattern which may be used to fill the area.
• i is the index number of the pattern that is to be defined and must be in the range 1-8. 8 patterns can exist
concurrently.
• If used with an index parameter and no others, the pattern is defined as a solid black fill.
• w is the width in pixels of the pattern that is to be defined and must be in the range 1- 255.
• h is the height in pixels of the pattern that is to be defined an must be in the range 1 - 255.
• p stands for a pixel in the defined fill. p = 0 signifies a white pixel, p>0 signifies a black pixel. The
number of pixels specified should equal the number of pixels in the fill pattern (w, h). The parameter
defines successive pixels' colors from left to right, top to bottom. If you do not supply enough pixel
parameters the trailing pixels default to white.
• Use the FT command to select a fill type from those defined with the RF command.
• Omitting parameters sets all raster fill patterns to solid fill.
10 '--Raster Fill Definition==
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;";
60 LPRINT "PU5,5;PA3500,2500;"
70 LPRINT
"RF2,8,4,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,
0,;"
80 LPRINT "FT11,2;RR4000,800;EP;"
90 LPRINT CHR$(27); "%0A";
100 LPRINT CHR$(27); "E";
110 END
<Sample 43>
w : width
h : height
Chapter 8 "HP-GL2" 39

Advertisement

Table of Contents
loading

Table of Contents