This problem (or a closely related one, I can't tell) is still not
(fully?) fixed in:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"

using

cups-1.5.0-8ubuntu6

Here is some more detail than given above:

Printers defined locally that are not connected/accessible, whether by
USB or directly on the net, do not cause a problem.  However, a remote
CUPS server defined in /etc/cups/client.conf like this:

ServerName print.mpia-hd.mpg.de

causes a hang of 3-6 minutes if the server is not there.  For the
record, this server serves 72 printers, and the longest measured timeout
was 6 minutes, 19 seconds.  It does not matter whether the default
printer is one of the missing ones or not.

Applications hang in predictable ways: the print dialogue in gnome,
which Firefox and Chromium use, causes that entire browser to hang while
waiting, even if all you want to do is print to file.  If you want to
change the default printer with lpoptions, you can't, because it hangs,
times out, and quits.  If you know the printer you want to print to and
specify lpr -P foo bar.pdf, it hangs.  So does lpq, and so on.

However, the localhost:631 interface is *unaffected*, and can print test
pages without delay.

Removing the client.conf file and restarting CUPS fixes the problem
immediately.  So, a workaround is to manually create and remove that
file every time you enter/leave the network with the print server.

My guess is that few people think they are experiencing it because the
timeout depends on how many printers were served on the missing server,
and most don't have that many.  This looks like it should be a simple
fix of querying the printers in parallel and giving them a few-second
timeout.

I very much hope this will be fixed!  There do appear to be others
experiencing this, but there is little clarity on the web about it (some
scattered complaints but few solutions that are practical).

Thanks,

--jh--

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/264333

Title:
  remote printer : freeze when not available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/264333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to