EasyManua.ls Logo

Commodore PC 20 - Page 208

Commodore PC 20
494 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...
170
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
COMI
port
(the
first
serial
connection
on
your
computer),
you
would
type
the
following:
mode
com1:48,e",p
mode
Ipt1
:=com1:
If
you
redirect
parallel
printer
output
from
LPT
1
to
COM
1,
and
then
decide
that
you
want
to
print
a file using LPTI,
you
can
sim-
ply type
the
following command:
mode
Ipt
1 :
This disables any
redirection
of
LPTI.
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
or:
mode
Ipt2:
,8
If
you
want
your
computer
to
keep
trying
to
print
a file until
your
printer
is ready
to
print
it, type this
next
command:
mode
Ipt2: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.

Table of Contents

Related product manuals