CHAPTER 7 IBM PROPRINTER - 17
Select a character from the All Character Code table
Esc^<char-code> (27)(94)<Char-code> <1Bh><5Eh><Char-code>
This command enables you to print a single character from the All Character Code table.
A control code is not executed if the code is sent immediately following this instruction.
LPRINT CHR$(27); CHR$(94); CHR$(36); 'Printed a dollar sign
Select character font
EscIn (27)(73)n
<1Bh><49h>n
This command enables you to select a font and choose the print quality.
If
n
is set to 0 the printer's standard font and draft quality are selected.
If
n
is set to 2 the printer's standard font and letter quality are selected.
If
n
is set to 4 the download font (the characters you sent to the printer using the
Esc =
command) and
draft quality are selected.
If
n
is set to 6 the download font ( the characters you sent to the printer using the
Esc =
command)
and letter quality are selected.
LPRINT CHR$(27); CHR$(73); CHR$(2); 'Selected letter quality printer
font
Define characters
Esc=n1n220n3(n4n5<character definition data>...)
(27)(61)n1n220n3(...
<1Bh><3Dh>n1n220n3(...
This command enables you to define and download characters for printing.
Monospaced characters are designed on a grid eleven dots wide by twelve dots high. The width of
proportionally spaced characters is specified in
n
5
.
1
2
3
4
5
6
7
8
9
10
11
12
Blank columns
Character width
Rows 1 - 8
Replication area
Rows 2 - 9
n
1
and
n
2
define the number of characters to be defined as follows: number of characters =
((
n
1
+(
n
2
*256)-2)/13.
n
3
is the character code of the first character in the sequence to be defined. It is assumed that you are
defining a sequence of characters whose code numbers increment by one for each character to be
defined.
If bits 1 and 2 of
n
4
are 0 and bit 8 is set to 1, the bytes that make up the character definition define the
top eight rows of the grid, the most significant bit representing the top dot, and the least significant
bit representing the eighth 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 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.
Summary of Contents for HL-4140CN
Page 4: ......
Page 15: ...CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 137: ...CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 155: ...CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 208: ...CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 285: ...CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 313: ...CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 334: ...CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 346: ...CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 373: ...CHAPTER 10 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Page 383: ...APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 490: ...APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...