[cups.bugs] [MOD] STR #2557: CUPS daemon is not set to listen on port 631 in the whole network when user wants CUPS to show printers

Till Kamppeter till.kamppeter at gmail.com
Thu Oct 11 08:06:43 PDT 2007


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Using cupsctl, the CUPS web interface, or system-config-printer (Ubuntu
Gutsy or Fedora Rawhide) to set the CUPS server option for showing shared
CUPS printers from remote CUPS servers CUPS sets correctly

Browsing On
BrowseAllow @LOCAL

in cupsd.conf

but misses to replace

Listen localhost:631

by

Port 631

So CUPS does not listen to the broadcasts.

To reproduce:

Open the web interface, http://localhost:631/, go to "Administration", in
the "Server" section check "Show printers shared by other systems" and
uncheck all the rest.

If you still see the remote printers after that, clear the cache:

/etc/init.d/cups stop
rm /var/cache/cups/remote.cache
/etc/init.d/cups start

and observe for more than 30 seconds. The remote printers will not appear.

Many users did not see this problem as they have both "Show printers
shared by other systems" and "Share published printers connected to this
system" activated. The latter sets "Port 631" correctly.

Patch to fix this is attached.

Link: http://www.cups.org/str.php?L2557
Version: 1.3-current
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-show-remote-printers.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20071011/2e9d210e/attachment.ksh>


More information about the cups-devel mailing list