Bit Images And User-Defined Characters; A Bit-Image Example - Epson 8133 User Manual

New apple ii intelligent parallel interface
Table of Contents

Advertisement

11111111111111111111111111111111111111111111111111111
BIT IMAGES AND
1 1 11111111111111111111111111111111111111111111111111111
USER-DEFINED CHARACTERS
Epson printers have the ability to allow the individual needles to be
fired under software control. This is known as bit image printing.
Some printers have the added ability to redefine characters, by
allowing the definitions for the needle sequences, which build up the
characters, to be sent and stored in the printer. This process is known
as downloading the characters. The method of defining downloadable
characters is similar to the methods used for bit imaging and full
details can be found in the relevant printer manual.
A BIT IMAGE EXAMPLE
1 1 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
The program which follows illustrates both the <CTRL>-1
n<
and
<CTRL>-1
n>
interface board commands. Remember that <CTRL>-1
n>
uses two digit hexadecimal bytes and that <CTRL>-1
n<
employs
decimal numbers. The value of
n
must be in the range I
<=n
<=255,
otherwise only the first (n MOD 256) values will be interpreted, and
the remainder will be printed out normally as though they were not
part of the command sequence.
10 0$
=
CHR$ !13!
+
CHR$ !4l
20 PRINT D$;•PR£1"
30 1$
=
CHR$ (9!
40 PRINT U;"12)1B4BOB0022528ABF8A522200
1
50 RE"
BIT I"AGE USING <CTRL>-I N>
so
PRINT
U;
"50N";
70 PRINT 1$;"27<";1$;"83<";1$;'48<";
80 RE" PRINT IN SUPERSCRIPT ESC SO
90 PRINT "SUPERSCRIPT";
100 PRINT 1$;"27<";1$;"83<";1$;"49<•;
110 RE" PRINT IN SUBSCRIPT ESC S 1
35

Advertisement

Table of Contents
loading

Table of Contents