Technical article 126137

How to configure parallel port with CUPS?

OpenServer 6.0.0OpenServer 5.0.7UnixWare 7.1.4

Written · Last revised

Problem

I want to configure my parallel printer but CUPS doesn't recognise my parallel port.

Cause

One possible cause is that your systems BIOS isn't set to ECP or EPP mode.

Solution

1. Make sure that the parallel printer port is set to ECP or to EPP in the systems BIOS.

2. Make sure that the printer is connected and turned on while starting up.

3. Make sure that the parallel interface is recognised by OpenServer/UW7.

Run "resmgr | grep mfpd". You should get something like:

3 mfpd 1 5 1 7 3bc 3bf - - - - 1 - - - 1 -

For OpenServer5, run "mkdev parallel" or check "hwconfig -hc"

4. Check that cups is running with "ps -eaf|grep cups".
This should return something like:
root  1501     1  0 13:56:45 ?            00:00:00  /usr/sbin/cupsd

If cupsd isn't running you can start it up by running:

# /etc/rc2.d/S99cups start

5. Change your default print system from SYSV to CUPS. Edit the file:

/etc/default/lpd

6. Check if CUPS recognizes your parallel port with "lpinfo -v".

It should look similar to:

network socket network http network ipp network lpd direct parallel:/dev/lp0 serial serial serial serial:/dev/tty1A?baud=115200 serial serial:/dev/tty2A?baud=115200 serial serial:/dev/tty3A?baud=115200 serial serial:/dev/tty4A?baud=115200 serial serial:/dev/tty5A?baud=115200 serial serial:/dev/tty6A?baud=115200 serial serial:/dev/tty7A?baud=115200 serial serial:/dev/tty8A?baud=115200 serial serial:/dev/tty9A?baud=115200 serial serial:/dev/tty10A?baud=115200 serial serial:/dev/tty11A?baud=115200 network smb

If the "parallel" entry is missing then try running:

# /usr/lib/cups/backend/parallel
and then restarting CUPS.

7. Now open up a browser and connect to:

http://localhost:631 and set up a new printer.

Make sure you select "direct parallel:/dev/lp0" for the interface.

NOTE:  If you don't wish to use CUPS then you can use "scoadmin printer" to
       add the printer as a normal parallel printer.

It may be necessary to use the "dumb" printer interface rather than the "standard" default to ensure all the buffer is printed and is not waiting for a final FormFeed character from the printed file or from the interface.

See also

TA126151 "How can I add and configure a parallel port card on my existing OpenServer 6.0.0 system?" TA126137 "How can I get my PCI parallel port recognized on UnixWare 7.1.4?"

From the Xinuos technical article database, record 126137. Reproduced with permission. The original is at www.sco.com/ta/126137, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.