Brother HL-1050 Technical Reference Manual page 194

Laser printer
Hide thumbs Also See for HL-1050:
Table of Contents

Advertisement

2/19/04
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.
any type of font.
• An SB command can alter the current standard and alternate font selections.
• Setting n to 1 allows the selection of
• 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,
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.
an increase and negative numbers a decrease.
• height specifies the factor by which to increase or decrease the line spacing.
increase and negative numbers a decrease.
• If you use the command without parameters, no extra space is used when labels are printed.
equivalent to ES0,0;
• An ES command remains in effect until another ES command is executed,
executed or the printer is reset,
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.
If n = 0 you may only select scalable fonts (or the stick font).
bitmapped fonts and has the following side-effects:
only scalable fonts and the stick font may be selected.
either with the EscE command or from the control panel.
CHAPTER 4 HP-GL/2 - 50
If n = 1 you may select
This is
Positive numbers specify
Positive numbers specify an
This is
a DF or IN command is

Advertisement

Table of Contents
loading

Table of Contents