[sane-devel] hplip cannot detect printers in you network error message when starting xsane for the first time in a session.

Olaf Meeuwissen paddy-hack at member.fsf.org
Fri Aug 19 11:02:19 UTC 2016

Olivier F. R. Dierick writes:

> Hello,


> On a recently upgraded Ubuntu 16.04 system, I get the following message
> when starting xsane for the first time after opening a session:
> --- Quote ---
> HPLIP cannot detect printers in your network. This may be due to
> existing firewall settings blocking the required ports.
> When you are in a trusted network environment, you may open the ports
> for network services like mdns and slp in the firewall. For detailed
> steps follow the link.
> http://hplipopensource.com/node/375
> --- End quote ---
> I have two local HP USB printers (without scanner functionality) and one
> local non-HP USB scanner. The local scanner is shared on the network
> through the saned net backend. Everything is working properly except
> that error message that pops up when starting xsane.
> How can I get rid of that message without opening ports? Is there a way
> to prevent xsane from using HPLIP network discovery?

Have you commented out all the backends you don't need in
/etc/sane.d/dll.conf as well as in any and all files below

Based on your description, all you need enabled is the net backend and
whatever backend supports your non-HP USB scanner.

Hope this helps,
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join

More information about the sane-devel mailing list