Star Micronics NB24-10/15 Printer User Manual


 
So for our example above, any of these BASIC statements will
have the same result:
LPRINT CHR$(27);CHR$(87);CHR$(l)
LPRINT CHR$(27);CHR$(87);CHR$(49)
LPRINT CHR$(27);"W";CHR$(l)
LPRINT CHR$(27);"W";CHR$(49)
LPRINT CHR$(27);"Wl"
Even though there are many commands that require the use
of ASCII code 0 (the (NUL) character), the number “0” (zero or
ASCII code 48) cannot be substituted. In these cases, instead of
an unadorned 0 we will show CHR$(O) each time these com-
mands are referenced.
That’s it for the basics. You are now ready to learn how to use
the many features of your printer.
n Selecting the right software mode
For this printer to correctly respond to control codes, you
must make sure that you’ve set the DIP switches properly.
The rest of this manual discuss the various control codes to
control this printer. You’ll find that many features have dif-
ferent codes for either the Standard mode or the IBM modes.
The Standard Mode emulates the Epson LQ-1000 printer.
The IBM-G Mode emulates the IBM Graphics printer and the
IBM-P Mode emulates the IBM Proprinter. You can select one
of these modes by setting DIP switches 2-1 and 2-2. (For details,
please refer to Appendix A.)
SOME SPECIAL KINDS OF TEXT
If you looked carefully at your printer’s self test, you probably
noticed that it can print in italics. But that’s not all! Your printer
can underline or overline characters, print superscripts and
subscripts, and perhaps most exciting, print letter quality
characters.