Brother HL-Series Technical Reference Manual page 323

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

Advertisement

Revision C 16/01/96
CF - Character Fill Mode
CF [ fill [, pen ]] [;]
fill : the fill pattern used to fill characters
pen : the pen used to edge characters
Ÿ
This command determines how characters are edged and filled.
Ÿ
Only scalable fonts can be both filled and edged - bitmap fonts and the stick font cannot be edged
and can only be filled with raster fill, shading or PCL cross-hatch patterns. Scalable characters can
be filled with any pattern specified by the FT command.
Ÿ
Permissible values of fill are 0, 1, 2 and 3. If fill = 0 characters are filled with a solid fill and edged.
If fill = 1 characters are edged but not filled. (Bitmap characters and stick font characters are filled
as they cannot be edged.) If fill = 2 characters are filled using the current fill type, but not edged. If
fill = 3 characters are filled, using the current fill type, and edged.
Ÿ
pen can be either 0 or 1. A value of 0 specifies the edging pen to be white; a value of 1 selects the
black pen for edging. If no pen is specified in the instruction the current pen, as selected with the
SP command, is used.
Ÿ
The width of the edging pen is proportional to the character's point size.
Ÿ
The fill line width used for cross hatch patterns is set with the PW command.
Ÿ
If you omit both parameters, solid fill and the white edging pen are selected - this is equivalent to
CF0.0;
Ÿ
If the command is not used all characters are solid and unedged.
Ÿ
A CF command remains in effect until an IN command is used to initialize the printer, a DF
command is used to restore the default settings, or another CF command is invoked.
10 '-Character Fill Mode -
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;";
60 LPRINT "SD1,21,2,1,4,140,5,0,6,3,7,52;SS;"
70 LPRINT "PA1000,3000;DT*;FT3,50,45;"
80 LPRINT "CF1,1;LBA*;"
90 LPRINT "PW0.1;CF3,1;LBB*;"
100 LPRINT "PW0.5;LBC*;"
110 LPRINT CHR$(27); "%0A";
120 LPRINT CHR$(27); "E";
130 END
<sample 56>
Chapter 8 "HP-GL2" 57

Advertisement

Table of Contents
loading

Table of Contents