Star Micronics NB-15 user manual ending with

Models: NB-15

1 114
Download 114 pages 4.7 Kb
Page 45
Image 45
ending with 0.

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.

nSome 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.

Page 45
Image 45
Star Micronics NB-15 user manual ending with