QMS SmartWriter 80+ User Manual page 301

Table of Contents

Advertisement

the ROM fonts.
I
<ESC>&<r><Dl><DZ>
I
DEFINE CHARACTER IN RAM
AREA
This command is used to create download fonts. It may
be used when creating an entire character set or just a sin-
gle letter or character. (Beware that download fonts are
deleted if the Master Reset Code is used.) In the com-
mand,
r
=
RAM area to be used
(in
most cases '0') and
nl and n z indicate the range of characters to be defined.
For example, the following command would indicate that
the characters A through E were about to be defined:
<ESC>& 0<65><69>
The visible equivalents of <65> and <69> (A and E) could
have also been substituted in the command.
If
only one
character were to be defined, then the value in nl and nz
would be the same.
The valid range of values for nl and nz is 0-255 (except
values 0-31, 127-259, and 255 which are control codes
and may only be used after sending a special ESCape
sequence explained in "Control Codes Redefined" later in
this section).
After receiving the above command, the printer expects
12 data numbers; one attribute and
11
dot pattern num-
bers (separated by commas). The user-defined character
must fit into the same 9-dot high by II-dot wide matrix
as the standard ROM characters. Only 7 or 8 dots of the
9-dot matrix are actually used depending on whether you
have a 7 or 8-bit system. Only 9 dots of the II-dot wide
matrix is used for defining characters. This allows for
space between printed characters. Remember, the printer
will still expect values for all spaces. Adjacent (or over-
lapping) dots are not permitted.
The first or "attribute" byte tells whether the top 7 or 8
dots (most cases)
are
to be printed or whether it will be
Appendix E
E-39

Advertisement

Table of Contents
loading

Table of Contents