Bug#894664: cups: Libreoffice doesn't see my network printer

2018-04-05 Thread Stefan Monnier
> So I cannot reproduce your problem.  I suppose disconnecting the ethernet
> connection doesn't do anything for you?

No, indeed: using only the ethernet or only the wifi connection doesn't
make any difference (usually only the ethernet is up).

>  > Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ server' of type
>  > '_ipp._tcp' in domain +'local' skipped, could not determine IP address.
> is (to me) a clear indication that something is wrong.  My knowledge of
> DNS matters is sparse so I think it is time for some help.

Is "local" above meant to refer to the DNS domain appended to the host
(i.e. does it mean the complete host name that was tried is
"server.local")?

> Till, Stefan has provided quite a lot of information (is it enough?).
> Are we looking at a misconfiguration, a tweak to cups-browsed.conf or
> a bug?

Hmm... now I looked further into my cups-browsed.conf and I think
I found the culprit: I had "BrowseOrder Allow,Deny" in there.
I removed it and now the printer appears.

Not sure how it got there.  Maybe it's when I tried to prevent those
"spurious" printers advertized by some local laptops from appearing, and
since I was testing this with `evince` I got the impression that none of
the BrowseDeny/BrowseAllow directives had any effect and left the config
file in this broken state without noticing.

It's also not clear why the debug log doesn't say that those printers are
simply "denied by default" and why it gives this odd "could not
determine IP address" instead.

But at least, on my side you can consider this bug closed as a "pilot
error" (tho I'll be happy to provide more info if you want to dig
further).

Thank you very much for your help,


Stefan



Bug#894664: cups: Libreoffice doesn't see my network printer

2018-04-05 Thread Brian Potkin
reassign 894664 cups-browsed
thanks


On Wed 04 Apr 2018 at 20:52:35 -0400, Stefan Monnier wrote:

> > Thank you for thinking to send the log.  There are three devices with IP
> > addresses which cannot be found.  Are they all printers?
> 
> Only the HP-8100 is a real printer.  The other two are advertised by
> some laptop which happened to be connected.
> 
> > Does Evince show them all?
> 
> Yes.
> 
> > Please do
> >
> >   avahi-browse -art > log
> >
> > and post log. avahi-browse is in the avahi-utils package.
> 
> Here it is (the laptop was absent this time).

[...]

I set up a bare-bones stretch client with two active interfaces as you
did and ran the same command. With two print queues on a stretch server
I got nothing which was significantly different from your output. The
queues were visible to CUPS and there were no errors in the cups-browsed
log.

So I cannot reproduce your problem. I suppose disconnecting the ethernet
connection doesn't do anything for you?

However,

 > Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ server' of type
 > '_ipp._tcp' in domain +'local' skipped, could not determine IP address.

is (to me) a clear indication that something is wrong. My knowledge of
DNS matters is sparse so I think it is time for some help.

Till, Stefan has provided quite a lot of information (is it enough?).
Are we looking at a misconfiguration, a tweak to cups-browsed.conf or a
bug?

Regards,

Brian.



Bug#894664: cups: Libreoffice doesn't see my network printer

2018-04-04 Thread Stefan Monnier
> Thank you for thinking to send the log.  There are three devices with IP
> addresses which cannot be found.  Are they all printers?

Only the HP-8100 is a real printer.  The other two are advertised by
some laptop which happened to be connected.

> Does Evince show them all?

Yes.

> Please do
>
>   avahi-browse -art > log
>
> and post log. avahi-browse is in the avahi-utils package.

Here it is (the laptop was absent this time).


Stefan
+  wlan0 IPv6 HP OfficeJet Pro 8100 @ serverUNIX Printer
 local
+  wlan0 IPv4 HP OfficeJet Pro 8100 @ serverUNIX Printer
 local
+   eth0 IPv6 HP OfficeJet Pro 8100 @ serverUNIX Printer
 local
+   eth0 IPv4 HP OfficeJet Pro 8100 @ serverUNIX Printer
 local
+  wlan0 IPv6 CUPS @ server Web Site
 local
+  wlan0 IPv4 CUPS @ server Web Site
 local
+   eth0 IPv6 CUPS @ server Web Site
 local
+   eth0 IPv4 CUPS @ server Web Site
 local
+  wlan0 IPv6 HP OfficeJet Pro 8100 @ serverInternet Printer
 local
+  wlan0 IPv4 HP OfficeJet Pro 8100 @ serverInternet Printer
 local
+   eth0 IPv6 HP OfficeJet Pro 8100 @ serverInternet Printer
 local
+   eth0 IPv4 HP OfficeJet Pro 8100 @ serverInternet Printer
 local
+  wlan0 IPv6 HP OfficeJet Pro 8100 @ server_ipps._tcp  
 local
+  wlan0 IPv4 HP OfficeJet Pro 8100 @ server_ipps._tcp  
 local
+   eth0 IPv6 HP OfficeJet Pro 8100 @ server_ipps._tcp  
 local
+   eth0 IPv4 HP OfficeJet Pro 8100 @ server_ipps._tcp  
 local
=  wlan0 IPv6 HP OfficeJet Pro 8100 @ serverUNIX Printer
 local
   hostname = [server.local]
   address = [fd84:6537:edcf:0:216:ff:fe03:18c4]
   port = [0]
   txt = []
=  wlan0 IPv4 HP OfficeJet Pro 8100 @ serverUNIX Printer
 local
   hostname = [server.local]
   address = [192.168.1.2]
   port = [0]
   txt = []
=   eth0 IPv6 HP OfficeJet Pro 8100 @ serverUNIX Printer
 local
   hostname = [server.local]
   address = [fd84:6537:edcf:0:216:ff:fe03:18c4]
   port = [0]
   txt = []
=   eth0 IPv4 HP OfficeJet Pro 8100 @ serverUNIX Printer
 local
   hostname = [server.local]
   address = [192.168.1.2]
   port = [0]
   txt = []
=  wlan0 IPv6 CUPS @ server Web Site
 local
   hostname = [server.local]
   address = [fd84:6537:edcf:0:216:ff:fe03:18c4]
   port = [631]
   txt = []
=  wlan0 IPv4 CUPS @ server Web Site
 local
   hostname = [server.local]
   address = [192.168.1.2]
   port = [631]
   txt = []
=   eth0 IPv6 CUPS @ server Web Site
 local
   hostname = [server.local]
   address = [fd84:6537:edcf:0:216:ff:fe03:18c4]
   port = [631]
   txt = []
=   eth0 IPv4 CUPS @ server Web Site
 local
   hostname = [server.local]
   address = [192.168.1.2]
   port = [631]
   txt = []
=  wlan0 IPv6 HP OfficeJet Pro 8100 @ serverInternet Printer
 local
   hostname = [server.local]
   address = [fd84:6537:edcf:0:216:ff:fe03:18c4]
   port = [631]
   txt = ["printer-type=0x901E" "printer-state=3" "Duplex=T" "Color=T" 
"TLS=1.2" "UUID=8a590a22-8022-31c0-7155-5d1c1f5bb656" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf"
 "product=(HP Officejet Pro 8100 eprinter-n811a)" "priority=0" "note=Salon" 
"adminurl=https://server.local:631/printers/Salon-HP-8100; "ty=HP Officejet Pro 
8100, hpcups 3.16.11" "rp=printers/Salon-HP-8100" "qtotal=1" "txtvers=1"]
=  wlan0 IPv4 HP OfficeJet Pro 8100 @ serverInternet Printer
 local
   hostname = [server.local]
   address = [192.168.1.2]
   port = [631]
   txt = ["printer-type=0x901E" "printer-state=3" "Duplex=T" "Color=T" 
"TLS=1.2" "UUID=8a590a22-8022-31c0-7155-5d1c1f5bb656" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf"
 "product=(HP Officejet Pro 8100 eprinter-n811a)" "priority=0" "note=Salon" 
"adminurl=https://server.local:631/printers/Salon-HP-8100; "ty=HP Officejet Pro 
8100, hpcups 3.16.11" "rp=printers/Salon-HP-8100" "qtotal=1" "txtvers=1"]
=   eth0 IPv6 HP OfficeJet Pro 8100 @ serverInternet Printer
 local
   hostname = [server.local]
   address = [fd84:6537:edcf:0:216:ff:fe03:18c4]
   port = [631]
   txt = ["printer-type=0x901E" "printer-state=3" "Duplex=T" "Color=T" 
"TLS=1.2" "UUID=8a590a22-8022-31c0-7155-5d1c1f5bb656" "URF=DM3" 

Bug#894664: cups: Libreoffice doesn't see my network printer

2018-04-04 Thread Brian Potkin
On Wed 04 Apr 2018 at 17:37:00 -0400, Stefan Monnier wrote:

> > Tentatively, this looks more like a cups-browsed issue.
> >
> > /etc/cups/cups-browsed should have a line "BrowseRemoteProtocols dnssd 
> > cups".
> 
> Yes, I have that.
> 
> > Try uncommenting "LogDir /var/log/cups" and "DebugLogging file" and look
> > at /var/log/cups/cups-browsed_log after restarting cups-browsed. Is the
> > printer in there?
> 
> Yes, I attached the file below.
> I guess the problem is
> 
> Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
> server' of type '_ipps._tcp' in domain 'local' skipped, could not determine 
> IP address.
> 
> but I don't know why.  "host server" on that same machine returns
> "server.lan has address 192.168.1.2".

Thank you for thinking to send the log. There are three devices with IP
addresses which cannot be found. Are they all printers? Does Evince show
them all?

Please do

  avahi-browse -art > log

and post log. avahi-browse is in the avahi-utils package.

Cheers,

Brian.



Bug#894664: cups: Libreoffice doesn't see my network printer

2018-04-04 Thread Stefan Monnier
> Tentatively, this looks more like a cups-browsed issue.
>
> /etc/cups/cups-browsed should have a line "BrowseRemoteProtocols dnssd cups".

Yes, I have that.

> Try uncommenting "LogDir /var/log/cups" and "DebugLogging file" and look
> at /var/log/cups/cups-browsed_log after restarting cups-browsed. Is the
> printer in there?

Yes, I attached the file below.
I guess the problem is

Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipps._tcp' in domain 'local' skipped, could not determine IP 
address.

but I don't know why.  "host server" on that same machine returns
"server.lan has address 192.168.1.2".


Stefan


Wed Apr  4 17:31:38 2018 cups-browsed: Creating http connection to local CUPS 
daemon: /var/run/cups/cups.sock:631
Wed Apr  4 17:31:38 2018 network interface at 192.168.1.112
Wed Apr  4 17:31:38 2018 network interface at 192.168.1.138
Wed Apr  4 17:31:38 2018 cups-browsed [BrowsePoll /var/run/cups/cups.sock:0]: 
IPP-Create-Subscription
Wed Apr  4 17:31:38 2018 cups-browsed [BrowsePoll /var/run/cups/cups.sock:0]: 
subscription ID=1250
Wed Apr  4 17:31:38 2018 cups-browsed (/var/run/cups/cups.sock): cupsGetDests
Wed Apr  4 17:31:38 2018 Could not determine system default printer!
Wed Apr  4 17:31:38 2018 Using signal handler SIGACTION
Wed Apr  4 17:31:38 2018 Avahi server connection got available, setting up 
service browsers.
Wed Apr  4 17:31:38 2018 listening
Wed Apr  4 17:31:38 2018 Avahi Browser: NEW: service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipp._tcp' in domain 'local'
Wed Apr  4 17:31:38 2018 Avahi Browser: NEW: service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipp._tcp' in domain 'local'
Wed Apr  4 17:31:38 2018 Avahi Browser: NEW: service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipp._tcp' in domain 'local'
Wed Apr  4 17:31:38 2018 Avahi Browser: NEW: service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipp._tcp' in domain 'local'
Wed Apr  4 17:31:38 2018 Avahi Browser: CACHE_EXHAUSTED
Wed Apr  4 17:31:38 2018 Avahi Browser: ALL_FOR_NOW
Wed Apr  4 17:31:38 2018 Avahi Browser: NEW: service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipps._tcp' in domain 'local'
Wed Apr  4 17:31:38 2018 Avahi Browser: NEW: service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipps._tcp' in domain 'local'
Wed Apr  4 17:31:38 2018 Avahi Browser: NEW: service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipps._tcp' in domain 'local'
Wed Apr  4 17:31:38 2018 Avahi Browser: NEW: service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipps._tcp' in domain 'local'
Wed Apr  4 17:31:38 2018 Avahi Browser: CACHE_EXHAUSTED
Wed Apr  4 17:31:38 2018 Avahi Browser: ALL_FOR_NOW
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipp._tcp' in domain 'local'.
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipp._tcp' in domain 'local' skipped, could not determine IP 
address.
Wed Apr  4 17:31:38 2018 listening
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipp._tcp' in domain 'local'.
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipp._tcp' in domain 'local' skipped, could not determine IP 
address.
Wed Apr  4 17:31:38 2018 listening
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipp._tcp' in domain 'local'.
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipp._tcp' in domain 'local' skipped, could not determine IP 
address.
Wed Apr  4 17:31:38 2018 listening
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipp._tcp' in domain 'local'.
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipp._tcp' in domain 'local' skipped, could not determine IP 
address.
Wed Apr  4 17:31:38 2018 listening
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipps._tcp' in domain 'local'.
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipps._tcp' in domain 'local' skipped, could not determine IP 
address.
Wed Apr  4 17:31:38 2018 listening
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipps._tcp' in domain 'local'.
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipps._tcp' in domain 'local' skipped, could not determine IP 
address.
Wed Apr  4 17:31:38 2018 listening
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipps._tcp' in domain 'local'.
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' of type '_ipps._tcp' in domain 'local' skipped, could not determine IP 
address.
Wed Apr  4 17:31:38 2018 listening
Wed Apr  4 17:31:38 2018 Avahi Resolver: Service 'HP OfficeJet Pro 8100 @ 
server' 

Bug#894664: cups: Libreoffice doesn't see my network printer

2018-04-03 Thread Brian Potkin
On Tue 03 Apr 2018 at 17:42:37 +0100, Brian Potkin wrote:

> /etc/cups/cups-browsed should have a line "BrowseRemoteProtocols".

"BrowseRemoteProtocols dnssd cups"

Cheers,
 
Brian.



Bug#894664: cups: Libreoffice doesn't see my network printer

2018-04-03 Thread Brian Potkin
On Tue 03 Apr 2018 at 07:57:13 -0400, Stefan Monnier wrote:

> >> I have a printer connected via USB to a local server (running Debian
> >> stable as well).  This printer is made visible to my clients by
> >> running cups-browsed.
> > For the server to advertise its printers with DNS-SD cups-browsed is
> > superfluous.
> 
> I expressed myself poorly: the cups-browsed is running on the client.
> 
> > For most applications and command line programs cups-browsed has to be
> > running on the client; seeing nothing at localhost:631 implies it is
> > not. Please give the outputs of
> >
> >   systemctl status cups-browsed
> >
> > and
> >
> >   lpstat -t
> >
> > on the client.
> 
> % LANG=C systemctl status cups-browsed
> * cups-browsed.service - Make remote CUPS printers available locally
>Loaded: loaded (/lib/systemd/system/cups-browsed.service; enabled; vendor 
> pre
>Active: active (running) since Mon 2018-04-02 10:30:23 EDT; 21h ago
>  Main PID: 5174 (cups-browsed)
> Tasks: 3 (limit: 4915)
>CGroup: /system.slice/cups-browsed.service
>`-5174 /usr/sbin/cups-browsed
> % LANG=C lpstat -t
> scheduler is running
> no system default destination
> lpstat: No destinations added.
> lpstat: No destinations added.
> lpstat: No destinations added.
> lpstat: No destinations added.

Tentatively, this looks more like a cups-browsed issue.

/etc/cups/cups-browsed should have a line "BrowseRemoteProtocols".

Try uncommenting "LogDir /var/log/cups" and "DebugLogging file" and look
at /var/log/cups/cups-browsed_log after restarting cups-browsed. Is the
printer in there?

Cheers,

Brian.



Bug#894664: cups: Libreoffice doesn't see my network printer

2018-04-03 Thread Stefan Monnier
>> I have a printer connected via USB to a local server (running Debian
>> stable as well).  This printer is made visible to my clients by
>> running cups-browsed.
> For the server to advertise its printers with DNS-SD cups-browsed is
> superfluous.

I expressed myself poorly: the cups-browsed is running on the client.

> For most applications and command line programs cups-browsed has to be
> running on the client; seeing nothing at localhost:631 implies it is
> not. Please give the outputs of
>
>   systemctl status cups-browsed
>
> and
>
>   lpstat -t
>
> on the client.

% LANG=C systemctl status cups-browsed
* cups-browsed.service - Make remote CUPS printers available locally
   Loaded: loaded (/lib/systemd/system/cups-browsed.service; enabled; vendor pre
   Active: active (running) since Mon 2018-04-02 10:30:23 EDT; 21h ago
 Main PID: 5174 (cups-browsed)
Tasks: 3 (limit: 4915)
   CGroup: /system.slice/cups-browsed.service
   `-5174 /usr/sbin/cups-browsed
% LANG=C lpstat -t
scheduler is running
no system default destination
lpstat: No destinations added.
lpstat: No destinations added.
lpstat: No destinations added.
lpstat: No destinations added.
%

>> Yet, this somehow works: e.g. evince sees my network printer just fine.  But
>> Libreoffice doesn't.  I haven't tried all applications to figure out which do
>> and which don't, so maybe Libreoffice is not the only one affected.
>
> Evince can read the server's DNS-SD broadcasts directly; it doesn't need
> cups-browsed. Libreoffice cannot read the server's DNS-SD broadcasts
> directly.

Good to know, thanks.


Stefan



Bug#894664: cups: Libreoffice doesn't see my network printer

2018-04-03 Thread Brian Potkin
Thank you for your report, Stefan.


On Mon 02 Apr 2018 at 23:15:18 -0400, Stefan Monnier wrote:

> Package: cups
> Version: 2.2.1-8+deb9u1
> Severity: normal
> 
> Dear Maintainer,
> 
> I have a printer connected via USB to a local server (running Debian stable as
> well).  This printer is made visible to my clients by running cups-browsed.

For the server to advertise its printers with DNS-SD cups-browsed is
superfluous.

> My clients have no locally-configured printers (and hence no "default"
> printer), and indeed when I go to "localhost:631" I don't see any printers
> there.

For most applications and command line programs cups-browsed has to be
running on the client; seeing nothing at localhost:631 implies it is
not. Please give the outputs of

  systemctl status cups-browsed

and

  lpstat -t

on the client.

> Yet, this somehow works: e.g. evince sees my network printer just fine.  But
> Libreoffice doesn't.  I haven't tried all applications to figure out which do
> and which don't, so maybe Libreoffice is not the only one affected.

Evince can read the server's DNS-SD broadcasts directly; it doesn't need
cups-browsed. Libreoffice cannot read the server's DNS-SD broadcasts
directly.

> I've seen bug#867818 which seems related, but my `cups` is an older version
> than the one that seems to be affected by that problem.
> 
> I've also seen bug#772097, but that one seems older than mine (back around 
> that
> time, cups-browsed would actually cause the network printer to appear in
> /etc/cu0ps/printers.conf and in localhost:631 and Libreoffice could see it 
> fine
> then).

We'll put this on one side for the moment.

Regards,

Brian.



Bug#894664: cups: Libreoffice doesn't see my network printer

2018-04-02 Thread Stefan Monnier
Package: cups
Version: 2.2.1-8+deb9u1
Severity: normal

Dear Maintainer,

I have a printer connected via USB to a local server (running Debian stable as
well).  This printer is made visible to my clients by running cups-browsed.

My clients have no locally-configured printers (and hence no "default"
printer), and indeed when I go to "localhost:631" I don't see any printers
there.

Yet, this somehow works: e.g. evince sees my network printer just fine.  But
Libreoffice doesn't.  I haven't tried all applications to figure out which do
and which don't, so maybe Libreoffice is not the only one affected.

I've seen bug#867818 which seems related, but my `cups` is an older version
than the one that seems to be affected by that problem.

I've also seen bug#772097, but that one seems older than mine (back around that
time, cups-browsed would actually cause the network printer to appear in
/etc/cu0ps/printers.conf and in localhost:631 and Libreoffice could see it fine
then).



-- System Information:
Debian Release: 9.4
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.9.0-3-686-pae (SMP w/4 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cups depends on:
ii  cups-client2.2.1-8+deb9u1
ii  cups-common2.2.1-8+deb9u1
ii  cups-core-drivers  2.2.1-8+deb9u1
ii  cups-daemon2.2.1-8+deb9u1
ii  cups-filters   1.11.6-3
ii  cups-ppdc  2.2.1-8+deb9u1
ii  cups-server-common 2.2.1-8+deb9u1
ii  debconf [debconf-2.0]  1.5.61
ii  ghostscript9.20~dfsg-3.2+deb9u1
ii  libavahi-client3   0.6.32-2
ii  libavahi-common3   0.6.32-2
ii  libc-bin   2.24-11+deb9u3
ii  libc6  2.24-11+deb9u3
ii  libcups2   2.2.1-8+deb9u1
ii  libcupscgi12.2.1-8+deb9u1
ii  libcupsimage2  2.2.1-8+deb9u1
ii  libcupsmime1   2.2.1-8+deb9u1
ii  libcupsppdc1   2.2.1-8+deb9u1
ii  libgcc11:6.3.0-18+deb9u1
ii  libstdc++6 6.3.0-18+deb9u1
ii  libusb-1.0-0   2:1.0.21-1
ii  poppler-utils  0.48.0-2+deb9u2
ii  procps 2:3.3.12-3

Versions of packages cups recommends:
ii  avahi-daemon 0.6.32-2
ii  colord   1.3.3-2
ii  cups-filters [ghostscript-cups]  1.11.6-3
pn  printer-driver-gutenprint

Versions of packages cups suggests:
ii  cups-bsd   2.2.1-8+deb9u1
pn  foomatic-db-compressed-ppds | foomatic-db  
ii  hplip  3.16.11+repack0-3
ii  printer-driver-cups-pdf [cups-pdf] 2.6.1-22
ii  printer-driver-hpcups  3.16.11+repack0-3
pn  smbclient  
ii  udev   232-25+deb9u2

-- Configuration Files:
/etc/cups/cupsd.conf changed:
LogLevel warn
MaxLogSize 0
SystemGroup lpadmin
Listen localhost:631
Listen /var/run/cups/cups.sock
Browsing On
BrowseLocalProtocols dnssd
DefaultAuthType Basic
WebInterface Yes

  Order allow,deny


  Order allow,deny


  AuthType Default
  Require user @SYSTEM
  Order allow,deny


  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default
  # Job-related operations must be done by the owner or an administrator...
  
Order deny,allow
  
  
Require user @OWNER @SYSTEM
Order deny,allow
  
  # All administration operations require an administrator to authenticate...
  
AuthType Default
Require user @SYSTEM
Order deny,allow
  
  # All printer operations require a printer operator to authenticate...
  
AuthType Default
Require user @SYSTEM
Order deny,allow
  
  # Only the owner or an administrator can cancel or authenticate a job...
  
Require user @OWNER @SYSTEM
Order deny,allow
  
  
Order deny,allow
  


  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default
  # Job-related operations must be done by the owner or an administrator...
  
AuthType Default
Order deny,allow
  
  
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
  
  # All administration operations require an administrator to authenticate...
  
AuthType Default
Require user @SYSTEM
Order deny,allow
  
  # All printer operations require a printer operator to authenticate...
  
AuthType Default
Require user @SYSTEM
Order deny,allow
  
  # Only the owner or an administrator can cancel or authenticate a job...
  
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
  
  
Order deny,allow
  



-- debconf information:
  cupsys/backend: lpd, socket, usb, snmp,