Brother 1660e Printer User Manual


 
2001/10/02
CHAPTER 4 HP-GL/2 - 52
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.
ES - Extra space
ES [ width [,height]] [;]
width : factor by which character spacing is changed.
height : factor by which line spacing is changed
This command enables you to adjust the space between label characters and lines.
width specifies the factor by which to increase or decrease the character spacing. Positive numbers specify
an increase and negative numbers a decrease.
height specifies the factor by which to increase or decrease the line spacing. Positive numbers specify an
increase and negative numbers a decrease.
If you use the command without parameters, no extra space is used when labels are printed. This is
equivalent to ES0,0;
An ES command remains in effect until another ES command is executed, a DF or IN command is executed or
the printer is reset, either with the EscE command or from the control panel.
TD - Transparent data
TD [ mode ] [;]
mode : normal or transparent data mode.
This command enables you to specify whether control characters should perform their normal function or
should be printed.