[avahi] Avahi + CUPS

Adam Tauno Williams awilliam at whitemice.org
Sat Dec 25 15:37:56 PST 2010


On Thu, 2010-12-09 at 05:29 -0500, Brian Cardarella wrote:
> I'm sure this has been asked before 

It has.  By me [two years ago?] and at least once in the last six months
by someone else. 

First see if your CUPS is linked to Avahi

ldd /usr/sbin/cupsd | grep avahi

> so I apologize (I've spent the last few hours looking for an answer
> but cannot find one)

Don't feel bad - I've never been an answer and there is no
documentation.
<http://old.nabble.com/Avahi-and-CUPS--td5485049.html>
<http://marc.info/?l=freedesktop-avahi&m=123626786231833&w=2>

IMNSHO: it doesn't work.  

> Anyway, I have a printer being shared with Bonjour. My server has CUPS
> (recent build) and Avahi installed.
> I can very see the printer with avahi-browse:
> """
> + tap0 IPv4 Lexmark International Lexmark E260d @ Brian Cardarella’s
> MacB Internet Printer     local
> """
> But CUPS cannot discover the printer. Here is my CUPS config for
> browsing shared printers:
> # Show shared printers on the local network.
> Browsing On
> BrowseOrder allow,deny
> BrowseAllow all
> BrowseProtocols all

The BrowseProtocol you [theoretically] want is DNSSD.

> BrowseRemoteProtocols all
> BrowseLocalProtocols all
> BrowseRelay all
> Any help would be appreciated.




More information about the avahi mailing list