Scaling The Scalable Fonts Vertically Or Horizontally; Selecting The Style - Brother HL-Series Technical Reference Manual

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

Advertisement

Revision C 16/01/96

Scaling the scalable fonts vertically or horizontally

EscCR!#H (27)(13)(33)#(72) <1Bh><0Dh><21h>#<48h>
• This command designates the height of the scalable fonts.
EscCR!#V (27)(13)(33)#(86) <1Bh><0Dh><21h>#<56h>
• This command designates the width of the scalable fonts.
• # can be from 0.25 ~ 3.00 in 0.01 increments.
• # value is set to 0.25 when # is specified less than 0.25, and # value is set to 3.00 when # is specified bigger
than 3.00.
• The value set by this command is initialized when the emulation change, Resetting, Test Printing, or Macro
overlay is executed.

Selecting the style

Esc(s#S (27)(40)(115)#(83) <1Bh><28h><73h>#<53h>
• This command designates the style of the primary font.
Esc)s#S (27)(41)(115)#(83) <1Bh><29h><73h>#<53h>
• This command designates the style of the secondary font.
• If you select a particular style (for example upright condensed outline) the command will only take effect if the
font is available in one of the three font locations.
Value
10 REM ****** PRINT IN ITALIC & UPRIGHT STYLE ******
20 ESC$=CHR$(27)
30 WIDTH "LPT1:",255
40 REM --- PRINT USING AN ITALIC FONT ----
50 LPRINT ESC$+"(s1S";
60 REM --- PRINT FONT ----
70 FOR I=33 TO 127
80 LPRINT CHR$(I);
90 NEXT
100 LPRINT
110 REM --- PRINT USING AN UPRIGHT FONT ---
120 LPRINT ESC$+"(s0S";
130 REM --- PRINT FONT ----
140 FOR I=33 TO 127
150 LPRINT CHR$(I);
160 NEXT
170 LPRINT
180 REM -- PAPER EJECT ---
190 LPRINT CHR$(12);
200 END
Font Style
0
Upright & solid
1
Italic
4
Condensed
5
Condensed italic
8
Compressed, or extra condensed
24
Expanded
32
Outline
64
Inline
128
Shadowed
Outline shadowed
160
Chapter 2 "PCL" - 43

Advertisement

Table of Contents
loading

Table of Contents