EasyManua.ls Logo

Commodore PC - The Print Command

Commodore PC
414 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...
30
MS-DOS
User's
Guide
Displaying a
file
Example
Suppose
you
want
to
check
your
employees'
salary
figures.
So
you
decide
to
look
at
a
file
named
salary.doc
that
is
on
the
disk
in
the
default
drive.
To
display
the
salary.doc
file
you
would
just
follow
these
steps:
Q]
Make
sure
that
the
disk
with
the
salary.doc
file
is
in
the
default
drive
(A).
HI
At
the
ms-dos
prompt,
type
the
following
command:
type
5alary.doc
[S
Press
the
return
key.
U
U
u
u
ms-dos
then
displays
the
salary.doc
file
on
the
screen.
Helpful
Hints
If
the
file
is
too
long
to
fit
on
the
screen,
remember
that
you
can
press
controls
to
prevent
it
from
scroll
ing
off
the
screen.
When
you
press
controls
again,
the
file
will
resume
scrolling.
ms-dos
displays
only
text
files
on
the
screen.
So
if
you
try
to
display a
program
file
(one
with
an
extension
of
.com
or
.exe\
you
will
see
only
strange
symbols
on
the
screen.
If
you
have
an
application
program
that
creates
files,
you
may
need
to
run
the
application
to
view
them.
u
Printing
a
file
The
Print
Command
If
you
have
a
printer
attached
to
your
computer,
you
can
print
files
with
the
ms-dos
print
command.
Assume,
for
example,
that
you
have
a
file
named
investmnt
and
want
to
print
it
on
your
printer.
You
could
use
the
following
command:
dt
int
i
nvest.mnt
Print
a
file
(ms-dos
assumes
this
file
is
on
the
disk
in
the
default
drive.)...
I...named
"investmnt"
Example
Say
you
have
a
file
that
contains
a
list
of
investors
and
their
phone
numbers,
and
suppose
you
want
to
print
this
file
and
keep
it
near
your
phone.
The
file
is
named
investmnt
and
is
on
the
disk
in
drive
B.
Drive
A
is
the
default
drive
(A>
is
the
prompt).
To
print
the
investmnt
file,
you
would
just
follow
these
steps:
u
u

Related product manuals