Chapter 5: Custom Character Commands42
Here is a breakdown of the definitions for the various bit values for a
1
:
Bit b
7
:
b
7
= 0: ascender
b
7
= 1: descender
Note: If b
0
or b
1
is 0, b
7
is ignored.
Bits b
6
, b
5
, b
4
, b
3
, b
2
: ignored
Bits b
1
and b
0
:
b
1
, b
0
= 0, 0: No expansion to 12 dots high: b
7
valid
b
1
, b
0
= 0, 1: Selects line draw characters; data is expanded to a total height of 12
dots in two passes: b
7
ignored.
b
1
, b
0
= 1, 0: Shaded character; data is expanded to a total height of 12 dots in two
passes: b
7
ignored.
b
1
, b
0
= 1, 1: NUL is expanded to a total height of 12 dots in two passes: b
7
ignored.
Parameter a
2
Parameter a
2
denotes the total width of the character in dots.
Table 34: IBM ESC = Command —
Character Widths for a
2
Values
a
2
(Decimal) Character Width, in Dots
0 Ignored
1 1 column wide
2 2 columns wide
3 3 columns wide
4 4 columns wide
5 5 columns wide
6 6 columns wide
7 7 columns wide
8 8 columns wide
9 9 columns wide
10 10 columns wide
11 11 columns wide
End the command with the data for the character calculated from your grid. If you're
downloading several characters, you only need one ESC & NUL command, and you only need
to include m and n once, but you must include a value for parameter a in each set of character
data.