L.
: c.
.
THIS COMMAND SETS THE LINE SPACING
TO 1/8TH INCH,THE EURROPEAN STANDARD.
NOW YOU ARE PRINTING WITH 1/6TH INCH
LINE SPACING,WHITH IS THE AMERICAN STANDARD.
THIS COMMAND CAUSES THE PRINTER
TO REVERSE THE PAPER ONE ENTIRE LINE.
Figure 6-5. Line spacing at 1/6th, 1/8th, and 1IlOth inch.
Just as you used an escape code in Section 5 to program your
own user-specified line spacing (in increments of 1/60th or 1/120th
inch), you can also do this in BASIC with the code: CHR$(27)
CHR$(65) CHR$(n) or CHR$(27) CHR$(51) CHR$(n). For “n”, you
can enter any value between 0 and 255.
This section illustrates only a few of the many possibilities that
await when you program in BASIC. Remember, you can get a
complete listing of these features in Appendix A.
In the next section, we’ll show you how to keep your printer in top
running condition for years to come. Please follow along for some
good advice that every printer owner should know.
51
80 LPRINT “NOW YOU ARE PRINTJNG WITH 1/6TH INC
l-i
90 LPRINT “LINE SPACING,WHITH IS THE AMERICAN
STANDARD.
100 LPRINT CHR$(lO);
110 LPRINT CHR$(27) CHR$(lO);
120 LPRINT “THIS COMMAND CAUSES THE PRINTER”
130 LPRINT “TO REVERSE THE PAPER ONE ENTIRE LI
NE.
*
Here is an example of the line space settings for the program:
c.
;, *