EasyManua.ls Logo

Commodore VIC-20 - Page 68

Commodore VIC-20
404 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
54
The
VIC
20
User
Guide
READY
if the program was successfully saved.
If
not, you will get the ?VERIFY error
message.
If
this occurs, try saving and verifying again.
Occasionally, there will be flaws
on
a diskette's surface.
If
you try to
save a program and cannot get it to save properly, there may be a slight
defect in the track and sector being accessed. Try another diskette in this
case.
OPERATING
THE
VIC 1515
GRAPHIC
PRINTER
You may use the VIC graphic printer to print the
data
from your
programs and to list the programs themselves. The printer may be addressed
in either immediate
or
program mode.
The
OPEN
Statement
Before you can send data
to
the printer, you must open a channel
to
it.
This
is
done using the following
OPEN
statement
OPEN
number between 1
and
255,4.
The first number (between 1 and 255)
is
the number you will use to
address the printer. The second number
is
the printer's device number.
It
is
always
4.
Here
is
an
example of a printer OPEN statement.
OPEN
1
..
4
You would now send all the data to be printed by the printer to channel
1 by typing
PRINT.l
....
HOW
NOW
BROWN COW"
The printer should print HOW NOW BROWN COW and return,
advancing the paper one row.
In a program, you could alternately print
to
the printer
and
the video
screen by simply typing
PRINT
when you want output to the screen, and
PRINT#l
when you want the output printed on the printer.
PRINT
always
outputs to the primary device (the screen, for example,
or
another device

Other manuals for Commodore VIC-20

Related product manuals