10/10/03

 

Value

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

 

 

160

Outline shadowed

 

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);

90NEXT

100LPRINT

110REM --- PRINT USING AN UPRIGHT FONT ---

120LPRINT ESC$+"(s0S";

130REM --- PRINT FONT ----

140FOR I=33 TO 127

150LPRINT CHR$(I);

160NEXT

170LPRINT

180REM -- PAPER EJECT ---

190LPRINT CHR$(12);

200END

5.2.11.Selecting the stroke weight

Esc(s#B (27)(40)(115)#(66) <1Bh><28h><73h>#<42h>

This command designates the stroke weight of the primary font.

Esc)s#B (27)(41)(115)#(66) <1Bh><29h><73h>#<42h>

This command designates the stroke weight of the secondary font

# is an integer between –7 and 7. A value of 0 signifies a medium stroke weight, negative numbers signify thin or light stroke weights and positive numbers signify bold stroke weights.

If you select a light or bold stroke weight the command will only have an effect if the font is available in one of the three font locations.

5.2.12. Selecting the typeface

Esc(s#T (27)(40)(115)#(84) <1Bh><28h><73h>#<54h>

This command designates the typeface of the primary font.

Esc)s#T (27)(41)(115)#(84) <1Bh><29h><73h>#<54h>

This command designates the typeface of the secondary font.

If the typeface you specify is not available in any of the three font source locations the printer will substitute a font of a different typeface.

CHAPTER 2 "PCL" - 46

Page 64
Image 64
Homelite 2060, HL-P2500 Escs#B 2740115#66 1Bh28h73h#42h, Escs#B 2741115#66 1Bh29h73h#42h, Escs#T 2740115#84 1Bh28h73h#54h