Printer User's Manual

CHAPTER 4
PRINTINGWITH BASIC
Subjectscoveredin Chapter4 include–
ListingBASICprogramson the printer
Howa programprintsthings
Controlcodes,escapecodes,andcommandsyn-
tax
Selectingtherightsoftwaremode
Nearletterquality(NLQ)characters
Fixedandproportionalcharacterspacing
Specialprinting–
Printinginitalics
Underlining
Superscriptsandsubscripts
Boldfaceandemphasizedtext
Mixingprintmodes
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