5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual

User Set Command
257
The User Set command (cc)u
n
and the Character Set Selection
command (cc)i
n
are related as shown below. Therefore, i24
selects the substitution set defined as u1, i29 selects u6, etc.
Example The following example defines User Set 1 to contain the
Multinational font addresses B1, A1, and BF at the hex character
addresses 23, 24, and 25, respectively.
For example, suppose
ca
= 23 and
fa
= B1; each time character
address 23 is called, it will be substituted with the character
located at font address B1. Further, when
ca
= 24 and
fa
= A1,
each time character address 24 is called, it will be substituted
with the character located at font address A1. And, when
ca
= 25
and
fa
= BF, each time character address 25 is called, it will be
substituted with the character located at font address BF.
NOTE: The command sequence contains
no spaces.
^u1,23B1,24A1,25BF^-
User Set 1 now contains the plus or minus sign (hex B1) in place
of the number sign (hex 23), the upside down exclamation point
(hex A1) in place of the dollar sign (hex 24), and the upside down
question mark (hex BF) in place of the percent sign (hex 25).
User Set (u
n
)
corresponds to
Character Set (i
n
)
n
= 1
n
= 24
n
= 2
n
= 25
n
= 3
n
= 26
n
= 4
n
= 27
n
= 5
n
= 28
n
= 6
n
= 29
n
= 7
n
= 30
n
= 8
n
= 31