Run the program to see the printout below:
As you can see, both sets of characters (the original ROM characters
that the printer normally uses and the user-defined character set)
remain in the printer available for your use. The command to switch
between the two sets is used in lines 180 and 200 and has the following
format:
E S C % n
If
n
is 0, the normal ROM character set is selected. (This is the
default.) If
n
is 1, the user-defined character set is selected. If you select
the user-defined character set before you have defined any characters,
the command is ignored; the ROM characters are still used.
You can switch between character sets at any time, even in the
middle of a line. To try it, place semicolons at the end of lines 170 and
190 in the program above.
Copying ROM to RAM
After running the program above, if you select the user-defined
character set and try to print other characters, the only one that will print
is the heart. If you send the code for a character that is not defined,
nothing is printed, not even a space; it is as if it was not sent at all.
In many cases, you will want to redefine only a few of the characters,
leaving the rest of the alphabet as it is. As you have seen, it is possible
to switch back and forth between the normal character set and the user-
defined character set. Normally it is more convenient to copy all of the
standard characters from ROM to the area of RAM that holds the user-
defined character set. The format of the command to do this is as
follows:
E s c : 0 0 0
If you use this command at the beginning of a program, then define
the special characters you want to change, you can then select the user-
defined character set and use it as your normal character set. There is
then no need to switch back and forth between sets.
6-16
Graphics and User-defined Characters
Summary of Contents for EX-1000
Page 1: ......
Page 11: ......
Page 29: ...1 18 Setting Up the Printer ...
Page 38: ......
Page 46: ...3 8 Using the EX with Application Programs ...
Page 51: ......
Page 57: ...5 6 EX Printer Features ...
Page 76: ......
Page 81: ...Command Summary A 5 ...
Page 82: ...A 6 Command Summary ...
Page 121: ......
Page 123: ...Table B 1 Epson mode characters B 2 Character Tables ...
Page 124: ...Table B 1 continued Character Tables B 3 ...
Page 125: ...Table B 1 continued B 4 Character Tables ...
Page 126: ...Table B 1 continued Character Tables B 5 ...
Page 127: ...Table B 1 continued B 6 Character Tables ...
Page 128: ...Table B 1 continued Character Tables B 7 ...
Page 129: ...Table B 1 continued B 8 Character Tables ...
Page 133: ...Table B 4 IBM printer emulation mode characters B 12 Character Tables ...
Page 134: ...Table B 4 continued Character Tables B 13 ...
Page 135: ...Table B 4 continued B 14 Character Tables ...
Page 137: ...Table B 4 continued B 16 Character Tables ...
Page 139: ...Table B 4 continued B 18 Character Tables ...
Page 151: ...D 8 Problem Solving and Maintenance ...
Page 157: ...E 6 Defaults and DIP Switches ...
Page 172: ......
Page 173: ...G 8 Technical Specifications ...
Page 183: ...IN 4 Index ...
Page 184: ...Quick Reference ...
Page 186: ......
Page 187: ......
Page 188: ......
Page 189: ......
Page 190: ......