
Revision C 16/01/96
Chapter 6 " IBM Proprinter XL " - 19
If bits 1 and 2 of n
4
are 00 and bit 8 is set to 0 the bytes that make up the character definition
define rows 2 to 9 of the grid, the most significant bit representing the second dot, and the
least significant bit representing the ninth dot down. Simply set a bit to 1 to print a dot in that
position on the grid, or to 0 to print white space.
If bits 1 and 2 of n
4
are 01 the least significant bit of each data byte is replicated in rows 9 to
12 of the grid.
If bits 1 and 2 of n
4
are 10 the bits 1 to 4 of each data byte are replicated in rows 9 to 12 of
the grid.
Bits 5 to 7 of n
5
specify the number of columns left blank to the left of the defined character in
proportional spacing mode. Up to seven columns can be skipped.
Bits 1 to 4 of n
5
specify the width in columns of the defined character in proportional spacing
mode. Up to fifteen columns can be used to define the character.
Downloaded characters are selected using the Esc I command and then printed by sending the
appropriate character codes.
4.4 Graphics
Set single-density image mode
EscK
n
1
n
2
<
image data> (27)(75)n1n2<image data>
<1Bh><4Bh>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
2
+n
1
bytes of data, each byte representing a single vertical column
of 4/30".
Images are printed left to right.
Images are printed at a horizontal resolution of 60 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 K n1 n2 ***";CHR$(10);
30 FOR i=1 TO 5
40 '* STANDARD DENSITY BIT IMAGE MODE *
50 LPRINT CHR$(27);"K";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 15 >
Содержание 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 ...