Brother HL-Series Technical Reference Manual page 326

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

Advertisement

Revision C 16/01/96
SL - Character Slant
SL [ tan φ φ ] [;]
tan φ - tangent of character slant angle (φ)
• This command determines the slant of characters printed with subsequent LB commands.
• φ is the angle between characters and the vertical. A positive value of φ ( and tan φ ) produces forward
sloping characters, while a negative value results in characters which slant backwards.
• Values of tan φ are clamped real numbers.
• A value of 0 for tan φ results in upright characters.
• If you omit the parameter, tan φ is take to be 0 and any characters printed will be upright.
10 ' -Character Slant-
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,25,5,0,6,0,7,5;SI0.7,1;"
70 LPRINT "PA1000,1000;DT#,1;SL0.36,LBPrinter#"
80 LPRINT "PA1000,300;SL-0.36;LBPrinter#"
90 LPRINT CHR$(27); "%0A";
100 LPRINT CHR$(27); "E";
110 END
<Sample 59>
SB - Scalable or Bitmap Fonts
SB [ n ] [;]
n : font category selection
• This command enables you to restrict the range of selectable fonts to scalable fonts and the stick font only.
• n can be 0 or 1. If n = 0 you may only select scalable fonts (or the stick font). If n = 1 you may select any
type of font.
• An SB command can alter the current standard and alternate font selections.
• Setting n to 1 allows the selection of bitmapped fonts and has the following side-effects:
• Bitmap characters cannot be edged.
• Bitmap characters can only be printed in orientations of 0°, 90°, 180° or 270°.
• The SL (character slant) command is not applied to bitmap fonts.
• Bitmap font character sizes are approximate only.
• The DF and IN commands set n to 0, - only scalable fonts and the stick fonts may be selected.
• The FI and FN commands implicitly set n to 1 if you use either of them to select a bitmap font.
• If you omit n from the command, only scalable fonts and the stick font may be selected. This is equivalent
to an SB0; command.
• The default setting is scalable fonts and stick font only.
Chapter 8 "HP-GL2" 60

Advertisement

Table of Contents
loading

Table of Contents