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
ESC % n
If n is 0, the normal ROM character set is selected. (This is the default.) If n is 1, the
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 RAMAfter running the program above, if you select the
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
ESC : 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.
Graphics and |