App
endix B
IBM ProPrinte
r
X24
and IBM ProPrinter II Commands
•
Parameters
n1 and
n
2
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
05-22
Customized Characters
•
Paramete
r
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
V
alue
Function
7
0
1
A
scending Characte
r
Descendin
g
Characte
r
6 - 2
i
g
nored
1 - 0
0 1
1 0
0 0
Expanded Character (Bit 7 ignored)
Shaded Character (Bit 7 ignored)
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 1-4 (for shaded characters as characters with code 176-178). These
characters cannot be selected in NLQ.
If both bits 0 and 1 are set to 1 (error), the printer will automatically correct these
values to 0, 0 (normal character).
B-28