Managing the print service

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:

  1. 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.

  2. Test the cable connection using a cable from a working device with the same cabling requirements.

  3. 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.

  4. If you cannot print from DOS, check the printer hardware configuration. See the documentation provided with your printer.
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.
Next topic: Port does not respond
Previous topic: Printer does not print

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004