Brother HL-1070 - B/W Laser Printer Technical Reference Manual page 310

Technical reference
Hide thumbs Also See for HL-1070 - B/W Laser Printer:
Table of Contents

Advertisement

Select a character from the All Character Code table
Esc^<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
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(...
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
Blank columns
1
2
3
Rows 1 - 8
4
5
6
7
8
9
10
Replication area
11
12
n
and n
define the number of characters to be defined as follows: number of characters =
1
2
((n
+(n
*256)-2)/13.
1
2
n
is the character code of the first character in the sequence to be defined. It is assumed that you are
3
defining a sequence of characters whose code numbers increment by one for each character to be
defined.
If bits 1 and 2 of n
are 0 and bit 8 is set to 1, the bytes that make up the character definition define the
4
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
are 00 and bit 8 is set to 0 the bytes that make up the character definition define
4
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.
(27)(94)<Char-code>
<1Bh><49h>n
<1Bh><3Dh>n1n220n3(...
.
5
Character width
CHAPTER 7 IBM PROPRINTER - 17
<1Bh><5Eh><Char-code>
Rows 2 - 9
2001/10/02

Advertisement

Table of Contents
loading

Table of Contents