Cannot redirect output to printer
If you redirect output directly to the parallel or serial port
and nothing happens or the system displays the
cannot create message:
If you configured your printer correctly
and you still cannot redirect output to it,
the problem is most likely a hardware malfunction.
Recheck the cables and port configuration and
consult your hardware documentation.
Verify that the device file for the port exists in /dev.
Make sure that this file is a device file and not a text file.
For example, use the following command to check lp0:
ls -l /dev/lp0
The output should look similar to this:
crw-rw-rw- 2 root root 14, 0 Oct 8 22:37 /dev/lp0
A regular text file does not include the ``c'' character
(for character special file)
at the beginning of the line.
Test the cable connection using a cable from a working device with
the same cabling requirements.
Print a file while the system is running under DOS.
If you can print a file under DOS but not under the UNIX system:
Verify that the port is configured correctly. See
``Port does not respond''.
If the port configuration is correct and you still
cannot redirect output to the port,
try using a different device name.
For example, for a parallel port,
use lp1 instead of lp0.
For a serial port, use /dev/tty01 instead of /dev/tty00.
If you still cannot print using a different device name,
your printer could be defective; check the printer documentation.
If you cannot print from DOS, check the printer hardware configuration.
See the documentation provided with your printer.
Port does not respond
Printer does not print
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004