Epson MX-70 User Manual page 39

Compusoft printer user manual
Table of Contents

Advertisement

NEXT N
30
39 PR #0
and RUN.
OK gang. It's different strokes for different folks. Users who can see their
printer merrily printing numbers out to column 75 can give their computer a
little pat on the - ah, keyboard.
Some TRS-80 users may see the printer tab over to 60, then the carriage returns
to print position 0 and continues printing numbers. This is a computer software
deficiency - it's not sending the right messages to the printer. Very common.
TRS-80's released before Spring 1980 do not send TAB
Apple II on the other hand does not tab correctly past column 40. To prove the
point, Apple users change line 20 to:
P R I N T T A B ( N ) ; N ;
20
and RUN.
It turns out that TAB
TAB
past the 40 column limit are treated as strings of blank spaces. There are
S
50 blank spaces between the 45 and 50. What's this business about an Apple
a day?
There are several ways around the problem. One is to TAB over with PRINT
statements containing blanks between the quotes. A nicer way, (not available
on the Apple II) is to use STRING$. See The BASIC Handbook for details.
The point of this program was to show that the MX-70 will accept horizontal
TAB
from BASIC, and help us determine our own computer's capability to
S
send those TAB
.
S
Code Summary
CHR$ (14) - ENTER DOUBLE WIDTH MODE
CHR$ (20) - EXIT DOUBLE WIDTH MODE
CHR$ (12) -FORM FEED (USE 140 FOR TRS-80)
PR# 1 - ENABLES PRINTER FROM APPLE BASIC PROGRAM
PR# 0 - DISABLES PRINTER FROM APPLE BASIC PROGRAM
PRINT CHR$ (4) "PR#l" - APPLE DISK ENABLES PRINTER
PRINT CHR$ (4) "PR#0" - APPLE DISK DISABLES PRINTER
CHR$ (27) "C" CHR$ (##) - ESTABLISHES FORM LENGTH
in BASIC are designed for the 40 column Apple screen.
S
(Apple)
greater than 64.
S
l <= ## <= 127
More Print Control Commands
29

Advertisement

Table of Contents
loading

Table of Contents

Save PDF