Chapter 5: Custom Character Commands48
follows:
starting address = a
1
+ (a
2
x 256)
Parameter a
3
indicates the number of characters to be down loaded.
Note: If fewer than 256 characters are loaded, all character codes must be consecutive from
the starting point.
Parameter m
The bits of this parameter determine the character pitch and print mode as follows:
b
0
: always 0
b
1
: ignored
b
2
, b
3
= 0, 0: Utility, all pitches
0, 1: LQ, 10 cpi
1, 0: LQ, 12 cpi
1, 1: LQ, proportional
b
6
= 0: Last data table
1: Another data table follows
Note: The command up to parameter m need only be included once for each down loading
sequence. The following parameters apply to the specific characters, and must be
included for each individual character in the sequence.
Parameters ad
1
ad
2
These parameters specify the starting address of the character, as follows:
character address = ad
1
+ (ad
2
x 256)
Parameter id
1
Here is a breakdown of the bit values for id
1
:
b
0
to b
5
= Number of columns to be loaded (1 to 63)
b
6
= 0: Load to RAM
1: Copied from ROM character generator
b
7
= 0: Normal character
1: Elongated character
Parameter id
2
Here is a breakdown of the bit values for id
2
:
b
0
to b
5
= Character width (1 to 63, proportional)
b
6
, b
7
= 0, 0: Data for pins 19 to 24 copied to pins 25 to 30
0, 1: Data for pins 23, 24, duplicated for pins 25, 26, 27, 28, 29, 30
1, 0: Underline
1, 1: No elongation
Parameters d
1
d
2
d
3
d
4
d
5
Each bit of the parameter bytes indicates whether the data in the specified column is identical
to the previous column or is new.
bit = 0: data is new