EasyManua.ls Logo

Commodore PC - Page 142

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...
70
MS-DOS
User's
Reference
Examples:
If
you
want
your
computer
to
send
its
printer
output
to
a
serial
printer,
you
need
to
use
the
mode
command
twice.
The
first
mode
command
specifies
the
asynchronous
communications
modes,
and
the
second
mode
command
redirects
the
computer's
parallel
printer
output
to
the
asynchronous
communications
port
specified
in
the
first
mode
command.
For
example,
if
your
serial
printer
operates
at
4800
baud
with
even
parity,
and
if
it
is
connected
to
the
COM1
port
(the
first
serial
connection
on
your
computer),
you
would
type
the
following:
mode
com1:48,e,,7p
<
\
mode
lpt1:=com1:
If
you
redirect
parallel
printer
output
from
LPT1
to
COM1,
and
then
decide
that
you
want
to
print
a
file
using
LPT1,
you
can
sim
ply
type
the
following
command:
mode
lpt1
:
This
disables
any
redirection
of
LPT1.
i i
Suppose
you
want
your
computer
to
print
on
a
parallel
printer
that
is
connected
to
your
computer's
second
parallel
printer
port
(LPT2).
If
you
want
to
print
with
80
characters
per
line
and
8
( )
characters
per
inch,
you
would
type
one
of
the
following
commands:
mode
Ipt2:
80,8
u
mode
Ipt2:
,8
If
you
want
your
computer
to
keep
trying to
print
a
file
until
your
(J
printer
is
ready
to
print
it,
type
this
next
command:
mode
lpt2:80,8,P
,
>
To
stop
retrying
to
print,
you
can
press
control-break
or
type
the
mode
command
without
the
P
option.
Note
If
you
print
files
every
time
you
start
ms-dos,
you
may
want
to
include
mode
commands
in
your
autoexec,
bat
file.
See
(
)
Chapter
4,
"Batch
Processing,"
for
more
information
on
the
autoexec,
bat
file.

Related product manuals