Customized characters, Esc h 0 – Compuprint MDP40B Programmer Manual User Manual
Page 180

C-38
C
C
u
u
s
s
t
t
o
o
m
m
i
i
z
z
e
e
d
d
C
C
h
h
a
a
r
r
a
a
c
c
t
t
e
e
r
r
s
s
ESC h 0
9 pin Downline Loading Characters into the User Memory (DLL).
(Olivetti PR2, PR40+)
ASCII Code
ESC h 0 n m d
0
d
1
d
2
D
1a
D
1b
D
1c
......D
nc
Hexadecimal Value
1B 68 30 n m d
0
d
1
d
2
D
1a
D
1b
D
1c
......D
nc
Decimal Value
27 104 48 n m d
0
d
1
d
2
D
1a
D
1b
D
1c
......D
nc
The command enables the characters received to be transferred from the line into the
user memory (9 pin). The type of DLL, 9 or 24 pin, is selected with the command ESC !
G n.
Parameters n and m are, respectively, the binary start and end codes and mark the
range in which the characters will be loaded (as a number "m" - n + 1). In the
particular case where n is equal to m a single character will be loaded.
Values n and m must be between Hex. 20 - 7E and 80 - FE
The format of each individual character is as follows:
d
0
d
1
d
2
D
1a
D
1b
D
1c
......D
nc
where:
-
d
0
,d
1
,d
2
represent, respectively, as binary values:
- d
0
: number of leading columns.
- d
1
: number of main columns.
- d
2
: number of trailing columns.
- The sum (d
0
+ d
1
+ d
2
) defines the number of columns in the character’s gross
matrix.
- D
1a
, D
1b
, D
1c
.......... D
nc
constitute the pattern of the character currently being loaded.
Each data column has three bytes.