Brother HL-Series Technical Reference Manual page 324

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

Advertisement

Revision C 16/01/96
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.
10 ' -Absolute Character Size-
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;";
60 LPRINT "PA700,3000;DT#;LBPrinter#"
70 LPRINT "PA700,2000;SI0.75,1;LBPrinter#"
80 LPRINT "SI;SD1,21,2,1,3,12,5,0,6,0,7,52;SS;"
90 LPRINT "PA40003000;LBPrinter#"
100 LPRINT "PA4000,2000;SI1,1.5;LBPrinter#"
110 LPRINT CHR$(27); "%0A";
120 LPRINT CHR$(27); "E";
130 END
<Sample 57>
Chapter 8 "HP-GL2" 58

Advertisement

Table of Contents
loading

Table of Contents