Star Micronics NB24-10/15 User Manual page 123

Signature series
Table of Contents

Advertisement

characters (m0, ml and m2) are used to specify the width of the
character and the space to be allowed on either side of it. The
left space (in dot column) is specified by m0 and the right space
is specified by m2. The second byte (ml) specifies the number
of columns of dots that will be printed by the character. By vary-
ing the width of the character
itself and the spaces around it,
you can actually create proportional
width characters.
You'll probably recognize
dl d2 . . . dx from the top of our
layout grid. That's right, each column is described
by three
bytes. Now we've got everything
we need to download
one
character
to the printer.
The complete
command
for our car
character with the Standard mode is shown below:
Now let's send the information
to the printer. The following
program
will send
the
character
definitions
for all two
characters to the printer. Before you enter the program, turn off
the printer
and set the DIP switch 2-3 off. Otherwise,
your
printer will ignore your download definitions.
After you set the DIP switch correctly, enter the program and
run it.
10 LPRINT CHR$(27);"xO";
20 LPRINT CHR$(27);"&";CHR$(O)
30 FOR N=60 TO 61
40 FOR M=l TO 30
5oREADMM
60 LPRINT CHR$(MM);
70 NEXT M
80 NEXT N
90 LPRINT
100 END
110 DATA
1, 9,
2,
1,240,
100, 0
0,
6,
8,
0,
8,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nb24-10Nb24-15

Table of Contents