Service manual

83
DOWNLOAD CHARACTER COMMANDS
Define download characters
Defines one or more new characters (up to 127 characters) and stores
them in RAM for later use. EDS switches A-1 and A-2 must be set
OFF; otherwise RAM is used as an input buffer, not downloading
characters and this command is ignored.
n1 is the character code of the first character defined and n2 is the
character code of the last character defined. n1 must be equal to or
less than n2.
The data for each character start with three bytes specifying propor-
tional spacing attributes: the first byte, m0, specifies the left of the
character; the second byte, m1, specifies the character width; the third
byte, m2, specifies the right of the character.
These values must not exceed the following maximum limits:
Character mode m1 m0 + m1 + m2
Draft 9 12
LQ pica 31 36
LQ elite 27 30
LQ semi-condensed 19 24
LQ proportional 37 42
Draft super/subscript 7 12
LQ super/subscript 19 36
LQ prop. super/subscript 37 42
Next comes the dot data. Normal character height is 24 dots, so there
must be 3 x m1 bytes of dot data. If the printer is in super/subscript
mode, however, the character height is 16 dots, so there must be 2 x
m1 bytes of dot data.
Each data byte indicates eight vertical dots, with the most significant
bit being the top dot, and the least significant bit being the bottom dot.
ASCII Decimal Hexadecimal
<ESC> “&” <0> n1
27 38 0
n1
1B 26 00
n1
n2 m0 m1 m2
n2
m0 m1 m2
n2
m0 m1 m2
d1 d2 ... dx d1 d2 ... dx d1 d2 ... dx