10/10/03

The selection will apply to whichever font you are currently specifying (primary or secondary).

If the printer doesn't have the specified size font, the next largest size font is used. If the printer doesn't have a larger sized font, the next smallest one is used.

This value is ignored by the printer when a proportional spaced font is selected.

10 REM ****** CHARACTER PITCH SELECTION ******

20 ESC$=CHR$(27)

30 WIDTH "LPT1:",255

40 REM --- SELECT A 10 CPI PITCH FONT ----

50 LPRINT ESC$+"(s10H";

60 FOR I=33 TO 127

70 LPRINT CHR$(I);

80NEXT

90LPRINT

100REM --- SELECT A 12 CPI PITCH FONT ---

110LPRINT ESC$+"(s12H";

120FOR I=33 TO 127

130LPRINT CHR$(I);

140NEXT

150LPRINT

160REM --- PAPER EJECT ---

170LPRINT CHR$(12);

180END

5.2.8.Selecting the height

Esc(s#V (27)(40)(115)#(86) <1Bh><28h><73h>#<56h>

This command designates the height of the primary font.

Esc)s#V (27)(41)(115)#(86) <1Bh><29h><73h>#<56h>

This command designates the height of the secondary font.

# is the size in points (1/72") from 0.25 to 999.75 in 0.25 increments.

This value is ignored by the printer when a fixed-spaced scalable font is selected.

5.2.9.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 is changed, a printer Reset, Test Print or Macro overlay is executed.

5.2.10. 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.

CHAPTER 2 "PCL" - 45

Page 63
Image 63
Homelite HL-1070, 2400C Escs#V 2740115#86 1Bh28h73h#56h, Escs#V 2741115#86 1Bh29h73h#56h, EscCR!#H 271333#72 1Bh0Dh21h#48h