Star Micronics NB-15 User Manual page 45

Star micronics printer user's manual
Table of Contents

Advertisement

L".
i.
c,
L-
cc.
L
c...
I-.
37
ending with 0.
So for out example above, any of these BASIC statements
will
have the same result:
LPRINT CHR$(27);"W"CHR$(l)
LPRINT CHR$(27);"W"CHR$(49)
LPRINT CHRS(27);"Wl"
Even though, there are many commands
that require the use
of ASCII code 0; the character
"0" (ASCII code 48) cannot be
substituted.
In these cases, instead of an unadorned
0 we will
show CHR$(O) each time these commands
are referenced.
n Some problem codes
Before we go too far we need to mention some codes that may
cause you problem.
Nearly all BASICS change some of the ASCII codes between
your BASIC program and your printer. IBM's Microsoft BASIC
adds a
CHR$(lO)
(a line feed) to a
CHR$(13)
(a carriage return)
before sending it on. Another problem code is ASCII 26. Once
again we refer to Appendix
H where some more specific infor-
mation awaits.
That's it for the basics. You are ready to learn how to use the
many features of your printer.

Advertisement

Table of Contents
loading

Table of Contents