CHAPTER 4
PRINTING WITH BASIC
Subjects covered in Chapter 4 include -
•Listing BASIC programs on the printer
•How a program prints things
•Control codes, escape codes, and command syntax
•Selecting the right software mode
•Near letter quality (NLQ) characters
•Fixed and proportional character spacing
•Special printing -
Printing in italics
Underlining and overlining
Superscripts and subscripts
Boldface and emphasized text
Mixing print 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
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 trouble learning more about it.
SOME BASICS OF BASIC
nFirst steps
The first things that a beginner program and to print a character
learns to do are to list a string. Certainly these are