2001/10/02
CHAPTER 4 HP-GL/2 - 49
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>
SI - Set absolute character size
SI [
width
,
height
] [;]
width
: the width in centimeters of printed characters
height
: the height in centimeters of printed characters
•
This command allows you to specify the size of the characters that you print with the LB instruction in
centimeters.
•
width
specifies character width and is a clamped real number. Negative values of width produce right-to-left
mirror image characters.
•
height
specifies the height of a capital letter and is a clamped real number. Negative values of height
produce upside-down mirror image characters.
•
If you change character size, the line width used to draw stick font characters may also change.
•
If you omit the parameters, the character size is as specified by the most recent SD or AD command.
•
If an SB1; command has previously been issued, printed characters may not be exactly the size that you
specify.
•
If an SB1; command has been issued, specifying a negative value will not produce mirror image characters.
Summary of Contents for HL-1250
Page 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 59: ...2001 10 02 CHAPTER 2 PCL 39 ...
Page 76: ...2001 10 02 CHAPTER 2 PCL 56 ...
Page 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...
Page 109: ...2001 10 02 CHAPTER 2 PCL 89 ...
Page 123: ...2001 10 02 CHAPTER 2 PCL 103 ...
Page 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...
Page 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...
Page 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 248: ...2001 10 02 CHAPTER 5 PJL 44 ...
Page 263: ...2001 10 02 CHAPTER 5 PJL 59 ...
Page 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...
Page 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...
Page 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...
Page 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...
Page 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...