Code Operated Matrix Switch
28
2. You can redirect parallel printer output out the
COM port of your choice with the DOS MODE
LPT command (see Section 2.4.2, “DOS Mode
Command”). Then, when your application tries
to send data to the printer port, DOS will
redirect the data to the COM port.
In most cases, application programs like these will
use the communications parameters for baud rate
and word structure set up in the last DOS MODE
COM command. (See Section 2.4.2.) Most of these
programs will also use hardware flow control.
Most other application programs are designed to
send data to an attached parallel printer. With these
programs, you need to redirect the parallel printer
output to a communications (COM) port and
configure the COM ports parameters. There are
two ways to redirect the output:
1. Many programs will prompt you for a print/list
device. If yours does, you may be able to enter
“COM1” or “COM2” and have the program
itself redirect the print data out the
communications port.