Star Micronics NX-15 user manual Printingwith Basic, Chapter

Models: NX-15

1 210
Download 210 pages 57.72 Kb
Page 45
Image 45
PRINTINGWITH BASIC

CHAPTER 4

PRINTINGWITH BASIC

Subjectscoveredin Chapter4 include–

ListingBASIC programson the printer

How a programprints things

Controlcodes,escapecodes,andcommandsyn- tax

Selectingthe rightsoftwaremode

Near letter quality(NLQ)characters

Fixed and proportionalcharacterspacing

Specialprinting–

Printingin italics

Underlining

Superscriptsand subscripts

Boldfaceand emphasizedtext

Mixingprint modes

To show you how to control your printer from a program, we have chosen BASIC because it is easy to learn and easy to use. Also, more personal computer users program in BASIC than in any other language.

The rest of this manual will show you a little BASIC – just enough for you to use your printer. We’re not going to try to make you an expert programmer, though, only get you started. There are many excellent books that will teach you BASIC, so if you discover that you like to program you should have no trou- ble learning more about it.

SOME BASICS OF BASIC

N First steps

The first things that a beginner learns to do are to list a pro- gram and to print a character string. Certainly these are the

Page 45
Image 45
Star Micronics NX-15 user manual Printingwith Basic, Chapter