CHAPTER 4

PRINTING WITH BASIC
Subjects covered in Chapter 4 include -
l Listing BASIC programs on the printer
l How a program prints things
l Control codes, escape codes, and command syntax
l Selecting the right software mode
l Near letter quality (NLQ) characters
l Fixed and proportional character spacing
l 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 -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 BASJC,
so if you discover that you like to program you should have
no trouble learning more about it.
SOME BASICS OF BASIC
W First steps
The first things that a beginner learns to do are to list a
program and to print a character string. Certainly these are