Epson LQ-1010 Printer User Manual


 
User-defined Characters
Printing User-defined Characters
If you entered the previous program example, you defined an arrow
and placed it in the RAM location for ASCII code 64 (replacing the @
sign). You can now print out a three-line sample of your work. The first
and third lines (printed by lines 80 and 120) print the normal @ sign.
The second line (printed by line 100) prints out the arrow that you
defined.
Run the program to see the printout below:
As you
can
see, both sets of characters (the @ from the original
characters in ROM that the printer normally uses and
the
alternative
character you defined) remain in the printer available for your use. The
command to switch between
the
two sets is used in line 90 and 110. It
is:
ESC % n
If
n
is equal to 0, the normal ROM character set is selected (this is the
default). If
n
is equal to 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 and the ROM characters remain in
use.
You may switch between character sets at any time-even in
the
middle
of a line. To try this, place semicolons at the end of lines 80 and 100 in
the
program example.
Software and Graphics
4-27