DOWNLOAD CHARACTER COMMANDS
Define download characters
Mode | ASCII |
|
|
|
|
| Decimal |
|
| Hexadecimal |
| |||
| <ES0 | “&I | CO> | nl |
| 27 30 | 0 | nl |
| 1B 26 | 00 | nl |
| |
Std. | n2 | m0 | ml | m2 | n2mOmlm.2 |
| n2mOmlm.2 |
| ||||||
|
| dl |
| d2 | . . . | & | dl | d2 | . . . | dx | dl | d2 | . . . | ah |
| cESC> | ‘I=” | CO> | nl |
| 27 61 | 0 | nl |
| 1B 3D | 00 | nl |
| |
IBM | n2 | m0 | ml | m.2 | n2mOmlm2 |
| n2mOmlm2 |
| ||||||
|
| dl |
| d2 | . . . | d.x | dl | d2 | . . . | dx | dl | d2 | . . . | dx |
Defines one or more new characters and stores them in RAM for later use. DIP switch
nl is the character code of the first character defined and n2 is the
L
character code of the last character defined. nl and n2 must both be between 33 and 254. nl must be equal to or less than n2. Use of
L
character codes 32 (space) and 127 (delete code) should be avoided if possible. The data for each character start with three bytes
L.
specifying propottional spacing attributes: the first byte, m0, speci- fies the left of the character; the second byte, ml, specifies the
I..
i
character width; the third byte, m2, specifies the right of the character. These values must not exceed the following maximum limits:
| Character mode | ml | mO+mI+m2 | |
L | Draft characters | 9 | 12 | |
| ||||
| LQ pica characters | 29 | 36 | |
L | LQ elite characters | 23 | 30 | |
LQ | 15 | 24 | ||
| ||||
| LQ proportional | 37 | 42 | |
L | Draft super/subscripts | 7 | 12 | |
LQ super/subscripts | 23 | 36 | ||
| ||||
: | LQ prop. super/subscripts | 23 | 42 | |
L |
|
| ||
|
|
|
i
Next comes the dot data. Normalcharacterheight is 24 dots, so there must be 3 x ml 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 ml bytes of dot data.
Each data byte indicates eight verical dots, with the MSB being the top dot and the LSB the bottom dot.
For further details, please refer to chapter 5.
i | 69 |
|