
Revision C 16/01/96
Chapter 6 " IBM Proprinter XL " - 21
This printer always prints as fast as possible, hence this command is the exact equivalent of
the Esc L command.
10 WIDTH "LPT1:", 255
20 LPRINT "*** ESC Y n1 n2 ***", CHR$(10);
30 FOR I=1 TO 5
40 '*DOUBLE-SPEED & DOUBLE-DENSITY BIT IMAGE MODE *
50 LPRINT CHR$(27);"Y";CHR$(160);CHR$(0);
60 FOR J=1 TO 8
70 FOR k=1 TO 20
80 N=2^J-1
90 LPRINT CHR$(N);
100 NEXT K
110 NEXT J
120 LPRINT CHR$(10);
130 NEXT I:END
< Sample 17 >
Set quadruple-density image mode
EscZ
n
1
n
2
<
image data> (27)(90)n1n2<image data>
<1Bh><5Ah>n1n2<image data>
This command enables you to define and print a single line raster bit image on a single text
line.
n
1
and n
2
define the number of bytes that comprise the image.
The image consists of 256*n
1
+n
2
bytes of data, each byte representing a single vertical
column of 4/30".
Images are printed left to right.
Images are printed at an approximate horizontal resolution of 240 dots per inch and at an
approximate vertical resolution of 72 dots per inch.
Each byte represents a vertical column of eight dots, the most significant bit representing the
dot at the top. Simply set a bit to 1 if you want a dot to appear in that position, and to 0 if
you want white space to appear.
10 WIDTH "LPT1:",255
20 LPRINT "*** ESC Z n1 n2 ***";CHR$(10);
30 FOR I=1 TO 5
40 '* QUADRUPLE-DENSITY BIT IMAGE MODE *
50 LPRINT CHR$(27);"Z";CRH$(16);CHR$(0);
60 FOR J=1 TO 8
70 FOR K=1 TO 20
80 N=2^J-1
90 LPRINT CHR$(N);
100 NEXT K
110 NEXT J
120 LPRINT CHR$(10);
130 NEXT I:END
< Sample 18 >
Содержание 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 ...