
Revision C 16/01/96
Chapter 2 "PCL" - 42
Selecting the pitch
Esc(s#H (27)(40)(115)#(72) <1Bh><28h><73h>#<48h>
•
This command designates the pitch for the primary font.
Esc)s#H (27)(41)(115)#(72) <1Bh><29h><73h>#<48h>
•
This command designates the pitch for the secondary font.
•
# = the number of characters to be printed per inch. However, the actual size range is defined in combination
with the character height.
•
The printer’s in-built bitmap fonts all have a pitch of either 10, 12 or 16.66 characters per inch, and you can
specify any of these as follows:
Esc&k0S
( 10 cpi )
Esc&k2S
( 16.66 cpi )
Esc&k4S
( 12 cpi )
•
The selection will apply to whichever font you are currently specifying (primary or secondary).
•
If the printer doesn't have the specified size of font, the next largest size of 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);
80 NEXT
90 LPRINT
100 REM --- SELECT A 12 CPI PITCH FONT ---
110 LPRINT ESC$+"(s12H";
120 FOR I=33 TO 127
130 LPRINT CHR$(I);
140 NEXT
150 LPRINT
160 REM --- PAPER EJECT ---
170 LPRINT CHR$(12);
180 END
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.
Содержание HL- SERIES
Страница 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Страница 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Страница 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Страница 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Страница 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Страница 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Страница 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Страница 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Страница 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Страница 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Страница 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Страница 332: ...Revision C 16 01 96 Chapter 9 HP GL 5 1 3 2 Printing Area a b d c a b c d mm A4 4 5 5 5 Letter 6 5 5 5 Legal 6 5 5 5 ...
Страница 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Страница 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...