Appendix B IBM ProPrinter X24 and IBM ProPrinter II Commands
•Parameters n1 and n2
These two parameters indicate the total number of bytes that will follow in the sequence.
They are calculated as follows:
n2 = whole number of (t divided by 256)
n1 = remainder of (t divided by 256) where t = (number_of_characters x 13) + 2
Example:
To redefine characters "A" to "E" (five characters), proceed as follows: t = (number_of_characters x 13) + 2 = (5 x 13) +2 = 65 + 2 = 67
n1 = whole number of (t / 256) = whole number of (67 / 256) = 0 n2 = remainder of (t / 256) = remainder of (67 / 256) = 67
•Parameter m
This parameter indicates the decimal code of the first of the standard characters to be replaced with DLL characters.
Example (continued):
To redefine characters "A" to "E" (from 65 to 69)D: m = A = 65
•Parameters a and b
define the attributes that may be assigned to the new characters. They must be specified for each of the characters.
•Parameter a indicates whether the character is ascending or descending and whether the character is expanded or not (if it is expanded, it indicates how). The values of the bits of parameter a select the following features:
BIT | Value | Function | |
|
|
| |
7 | 0 | Ascending Character | |
Descending Character | |||
1 | |||
6 - 2 |
| ignored | |
|
|
| |
| 0 1 | Expanded Character (Bit 7 ignored) | |
1 - 0 | 1 0 | Shaded Character (Bit 7 ignored) | |
| 0 0 | Normal Character (Bit 7 valid) |
If bits 0 and 1 are set to 1 and 0 respectively, the character is expanded to 12 dots; the lines from 9 to 12 will repeat the dots on line 8. These characters can be selected in NLQ.
If bits 0 and 1 are set to 0 and 1 respectively, the character is expanded to 12 dots; the lines from 9 to 12 will repeat the dots of the base of the character of lines
If both bits 0 and 1 are set to 1 (error), the printer will automatically correct these values to 0, 0 (normal character).