Bug 91915 - CUPS not working with remote LPD queues
Summary: CUPS not working with remote LPD queues
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: cups
Version: 9
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2003-05-29 18:44 UTC by Florin Andrei
Modified: 2007-04-18 16:54 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-06-27 10:20:42 UTC

Attachments (Terms of Use)

Description Florin Andrei 2003-05-29 18:44:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
I configured the printers using the default GUI. I entered the correct hostname
for the print server, the correct queue names (remote Unix LPD queues), the
correct printer drivers (generic Postscript).
However, i can't print. I keep getting the error:

Remote host did not accept control file (115)

But if i use the Printer System Switcher and use LPD, and all configuration
pieces are the same, it works! I can print with no problem whatsoever.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.configure cups to use remote Unix lpd queues
2.try to run a printing test

Actual Results:  error message:
Remote host did not accept control file (115)

Expected Results:  I should be able to print to remote server.

Additional info:

Comment 1 Tim Waugh 2003-05-29 21:36:49 UTC
I strongly suspect this to be due to strict RFC-1179 checking.  There is a
check-box in the GUI, but unfortunately for CUPS it does nothing in Red Hat
Linux 9.  For LPRng it should work though.

In current rawhide (redhat-config-printer and cups) the checkbox should have the
desired effect.

Comment 2 Florin Andrei 2003-05-29 23:44:05 UTC
With CUPS, i used whatever's the default with that setting. Which, i think, is
With LPD it works with it unselected, i didn't try to select it and see what
I'm too lazy to reconfigure again to CUPS. :-)

Even if the checkbox doesn't work in the GUI, is there any way to override it
manually in CUPS? I don't mind editing config files.

Comment 3 Tim Waugh 2003-05-30 09:42:27 UTC
Maybe LPRng does that by default now, not sure.

What is the remote LPD server?  An actual printer, or another computer?

There isn't really a config file you can edit to do this with CUPS; you just
need a newer version of both it and redhat-config-printer.

Comment 4 Florin Andrei 2003-05-30 18:33:27 UTC
The remote LPD server is a Unix server, having several printing queues. "Behind"
each queue there's a network printer, but that's transparent to the user (until
you actually have to walk down the hall to get your printed document from the
tray :-D).
nmap says:
Remote operating system guess: IRIX 6.5-6.5.15m

LPD always worked flawlessly with this printserver. It's the default printserver
for my department, used by hundreds of workstations (all sorts of Unices). I
could use it as a printserver from all Red Hat versions starting with...
whatever was the latest version around Christmas 2000.
With Red Hat 9, using the default config GUI, it works with the old printing
subsystem, it does not work with CUPS.

Comment 5 Tim Waugh 2003-06-27 10:20:42 UTC
So sounds like it's the RFC1179 option you need, and that works in rawhide.

Note You need to log in before you can comment on or make changes to this bug.