Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #187311

Re: How to Turn Off Autodiscovered Printers in Firefox?

From Curt <curty@free.fr>
Newsgroups linux.debian.user
Subject Re: How to Turn Off Autodiscovered Printers in Firefox?
Date 2017-09-27 16:50 +0200
Message-ID <uulOW-4rv-21@gated-at.bofh.it> (permalink)
References (1 earlier) <utVrs-3yl-5@gated-at.bofh.it> <utWQy-4Cp-25@gated-at.bofh.it> <utYz1-5vR-21@gated-at.bofh.it> <uu3fl-8sI-41@gated-at.bofh.it> <uukJb-3qZ-13@gated-at.bofh.it>
Organization Unorganized

Show all headers | View raw


On 2017-09-27, Brian <ad44@cityscape.co.uk> wrote:
>> 
>> When I tried this, it solved my problem, and I don't notice any delay
>> issues.
>
> Users of Qt apps, command line utilities and LibreOffice would not be
> overjoyed by having their printing experience severely degraded. There
> might also be other drawbacks to dbus deactivation. The issue with an
> "anonymous joe" is the lack of any detail, explanation or testing
> reports.

Well Joe(s) said:

 The cups client libraries now also get a list of network printers from Avahi.
 In older versions of cups, this was only done by the cups server.

 This is now done in the client-side cups libraries (ie libcups.so, 
 which GNOME and KDE apps link against) and not in the cupsd server. 
 So changing the "Browse" settings in the cups server won't work.

 $ ldd /usr/lib/x86_64-linux-gnu/libcups.so.2
 ...
 libavahi-common.so.3 => /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
 libavahi-client.so.3 => /usr/lib/x86_64-linux-gnu/libavahi-client.so.3

 IE this behaviour (of showing remote printers in the Print dialog box) happens
 even if you turn off your local cups server. You can disable it by turning off
 the avahi service, but that will disable all zeroconf/mdns related
 functionality.

 However, there is at least a way to turn off most of avahi's functionality
 (including adding remote printers into the CUPS clients) while keeping the DNS
 functionality (eg when looking up foo.local-style host names):
 edit /etc/avahi/avahi-daemon.conf and in the [server] section, add
 enable-dbus=no then restart the avahi-daemon service.

I guess that's all the explanation we're going to get. As for testing, the OP
tested and said it solved his problem. I'm sorry the solution wasn't up to your
high standards, but I did my best.

;-)

 

> Try: in settings.ini have 'gtk-print-backends=file,lpr'. Print from the
> dialog with 'lp -d <print_queue>'.
>
> In the end it depends on what you and your users can live with.
>


-- 
"A simpering Bambi narcissist and a thieving, fanatical Albanian dwarf."
Christopher Hitchens, commenting shortly after the nearly concurrent deaths 
of Lady Diana and Mother Theresa.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to Turn Off Autodiscovered Printers in Firefox? Kent West <westk@acu.edu> - 2017-09-26 07:20 +0200
  Re: How to Turn Off Autodiscovered Printers in Firefox? Brian <ad44@cityscape.co.uk> - 2017-09-26 12:40 +0200
    Re: How to Turn Off Autodiscovered Printers in Firefox? Curt <curty@free.fr> - 2017-09-26 14:10 +0200
      Re: How to Turn Off Autodiscovered Printers in Firefox? Brian <ad44@cityscape.co.uk> - 2017-09-26 16:00 +0200
        Re: How to Turn Off Autodiscovered Printers in Firefox? Kent West <westk@acu.edu> - 2017-09-26 21:00 +0200
          Re: How to Turn Off Autodiscovered Printers in Firefox? Brian <ad44@cityscape.co.uk> - 2017-09-27 15:40 +0200
            Re: How to Turn Off Autodiscovered Printers in Firefox? Curt <curty@free.fr> - 2017-09-27 16:50 +0200
              Re: How to Turn Off Autodiscovered Printers in Firefox? Kent West <westk@acu.edu> - 2017-09-27 18:00 +0200
              Re: How to Turn Off Autodiscovered Printers in Firefox? Brian <ad44@cityscape.co.uk> - 2017-09-27 18:10 +0200

csiph-web