[arch-general] Cups 1.6 printer discovery
Jonathan Hudson
jh+arch at daria.co.uk
Mon Jul 30 16:06:32 EDT 2012
On Mon, 30 Jul 2012 20:52:55 +0100, mike cloaked wrote:
>On Mon, Jul 30, 2012 at 8:46 PM, Mantas Mikulėnas <grawity at gmail.com> wrote:
>> On Mon, Jul 30, 2012 at 10:23 PM, mike cloaked <mike.cloaked at gmail.com> wrote:
>>> Now that cups 1.6 is in core - I have been struggling to get my laptop
>>> to "see" a shared printer attached by usb to another machine on the
>>> same network - previously if port 631 was open on all machines in the
>>> network then cups seemed to make the printer visible on all local
>>> machines.
>>>
>>> I have been reading that avahi-daemon needs to be running for printer
>>> discovery to work with the new version of cups but I have not been
>>> able to get my laptop to see the cups shared printer on a desktop
>>> elsewhere in the same network - does anyone have a link to the key
>>> steps in the config to get this working?
>>
>> Try "BrowseLocalProtocols dnssd" in cupsd.conf.
>>
>>> I did read that under the new system avahi needs to be running on both
>>> server and client - but in my case the "server" machine is linux but
>>> not arch and still running cups version <1.6 and is not currently
>>> running avahi....
>>
>> So install Avahi? If I remember correctly, older CUPS versions support
>> both CUPS and DNS-SD browsing.
>>
>
>In fact I already had "BrowseLocalProtocols dnssd" in cupsd.conf in my
>laptop (client) - and on checking the server machine in fact
>avahi-daemon was already running - though I may need to change a
>config somewhere to allow it to broadcast dns-sd?
>
>I now have avahi-daemon running in the client laptop also but I don't
>see any printers visible from the server in the local network - one
>question I don't know is what port the dns-sd traffic needs - I need
>to ensure that any required port is not blocked in the firewalls.
>
Do you have the nss-mdns package installed and a suitable entry
in /etc/nsswitch.conf (hosts: dns files mdns works for me, but there is
some discussion in the wiki about it).
More information about the arch-general
mailing list