cups-filters: cups-browsed 1.24 regression - driverless printing no longer works with legacy printers
I’m separating this issue because it seems different now than #124 .
Debug output from cups-filters 1.25.5:
sudo /usr/sbin/cups-browsed -v
Passwort:
Mon Sep 9 10:27:26 2019 Reading command line option -v, turning on debug mode (Log on standard error).
Mon Sep 9 10:27:26 2019 cups-browsed of cups-filters version 1.25.5 starting.
Mon Sep 9 10:27:26 2019 Reading config: BrowseRemoteProtocols dnssd cups
Mon Sep 9 10:27:26 2019 No "Browse..." line at all, accept all servers ("BrowseOrder Deny,Allow").
Mon Sep 9 10:27:26 2019 main() in THREAD 140541639387712
Mon Sep 9 10:27:26 2019 cups-browsed: Creating http connection to local CUPS daemon: /var/run/cups/cups.sock:631
Mon Sep 9 10:27:26 2019 update_netifs() in THREAD 140541639387712
Mon Sep 9 10:27:26 2019 network interface lo: Local host name/address: 127.0.0.1
Mon Sep 9 10:27:26 2019 network interface lo: Local host name/address: localhost
Mon Sep 9 10:27:26 2019 network interface enp0s3: Local host name/address: 192.168.1.56
Mon Sep 9 10:27:26 2019 network interface enp0s3: Local host name/address: loguservm.local
Mon Sep 9 10:27:26 2019 Network interface enp0s3 at 192.168.1.56 for legacy CUPS browsing/broadcasting
Mon Sep 9 10:27:26 2019 network interface lo: Local host name/address: ::1
Mon Sep 9 10:27:26 2019 network interface enp0s3: Local host name/address: fe80::1a8e:b96e:77e6:f6af
Mon Sep 9 10:27:26 2019 network interface enp0s3: Local host name/address: loguservm
Mon Sep 9 10:27:26 2019 cups-browsed [BrowsePoll /var/run/cups/cups.sock:0]: IPP-Create-Subscription
Mon Sep 9 10:27:26 2019 cups-browsed [BrowsePoll /var/run/cups/cups.sock:0]: subscription ID=39
Mon Sep 9 10:27:26 2019 cups-browsed (/var/run/cups/cups.sock): cupsEnumDests
Mon Sep 9 10:27:26 2019 find_previous_queue() in THREAD 140541639387712
Mon Sep 9 10:27:26 2019 === Remote printer overview ===
Mon Sep 9 10:27:26 2019 ===============================
Mon Sep 9 10:27:26 2019 === Remote printer overview ===
Mon Sep 9 10:27:26 2019 Printer (, ): Local queue konica_minolta_bizhub_c253_5e_92_c6_, Remote CUPS Printer, Slave of None (To be created/updated)
Mon Sep 9 10:27:26 2019 ===============================
Mon Sep 9 10:27:26 2019 Found CUPS queue konica_minolta_bizhub_c253_5e_92_c6_ (URI: ) from previous session.
Mon Sep 9 10:27:26 2019 Using signal handler SIGACTION
Mon Sep 9 10:27:26 2019 Avahi server connection got available, setting up service browsers.
Mon Sep 9 10:27:26 2019 checking queues in 300s
Mon Sep 9 10:27:26 2019 browse_callback() in THREAD 140541639387712
Mon Sep 9 10:27:26 2019 Avahi Browser: NEW: service 'KONICA MINOLTA bizhub C253(5E:92:C6)' of type '_ipp._tcp' in domain 'local' on interface 'enp0s3' (IPv6)
Mon Sep 9 10:27:26 2019 browse_callback() in THREAD 140541639387712
Mon Sep 9 10:27:26 2019 Avahi Browser: NEW: service 'KONICA MINOLTA bizhub C253(5E:92:C6)' of type '_ipp._tcp' in domain 'local' on interface 'enp0s3' (IPv4)
Mon Sep 9 10:27:26 2019 browse_callback() in THREAD 140541639387712
Mon Sep 9 10:27:26 2019 Unable to find interface name for interface -1: No such device or address
Mon Sep 9 10:27:26 2019 Avahi Browser: CACHE_EXHAUSTED
Mon Sep 9 10:27:26 2019 browse_callback() in THREAD 140541639387712
Mon Sep 9 10:27:26 2019 Unable to find interface name for interface -1: No such device or address
Mon Sep 9 10:27:26 2019 Avahi Browser: ALL_FOR_NOW
Mon Sep 9 10:27:26 2019 browse_callback() in THREAD 140541639387712
Mon Sep 9 10:27:26 2019 Unable to find interface name for interface -1: No such device or address
Mon Sep 9 10:27:26 2019 Avahi Browser: CACHE_EXHAUSTED
Mon Sep 9 10:27:26 2019 browse_callback() in THREAD 140541639387712
Mon Sep 9 10:27:26 2019 Unable to find interface name for interface -1: No such device or address
Mon Sep 9 10:27:26 2019 Avahi Browser: ALL_FOR_NOW
Mon Sep 9 10:27:27 2019 resolve_callback() in THREAD 140541639387712
Mon Sep 9 10:27:27 2019 update_netifs() in THREAD 140541639387712
Mon Sep 9 10:27:27 2019 network interface lo: Local host name/address: 127.0.0.1
Mon Sep 9 10:27:27 2019 network interface lo: Local host name/address: localhost
Mon Sep 9 10:27:27 2019 network interface enp0s3: Local host name/address: 192.168.1.56
Mon Sep 9 10:27:27 2019 network interface enp0s3: Local host name/address: loguservm.local
Mon Sep 9 10:27:27 2019 Network interface enp0s3 at 192.168.1.56 for legacy CUPS browsing/broadcasting
Mon Sep 9 10:27:27 2019 network interface lo: Local host name/address: ::1
Mon Sep 9 10:27:27 2019 network interface enp0s3: Local host name/address: fe80::1a8e:b96e:77e6:f6af
Mon Sep 9 10:27:27 2019 network interface enp0s3: Local host name/address: loguservm
Mon Sep 9 10:27:27 2019 Avahi Resolver: Service 'KONICA MINOLTA bizhub C253(5E:92:C6)' of type '_ipp._tcp' in domain 'local' with host name 'KMBT5E92C6.local' and port 631 on interface 'enp0s3' (IPv6).
Mon Sep 9 10:27:27 2019 Avahi Resolver: Service 'KONICA MINOLTA bizhub C253(5E:92:C6)' of type '_ipp._tcp' in domain 'local' skipped, not a local service.
Mon Sep 9 10:27:27 2019 checking queues in 299s
Mon Sep 9 10:27:27 2019 resolve_callback() in THREAD 140541639387712
Mon Sep 9 10:27:27 2019 update_netifs() in THREAD 140541639387712
Mon Sep 9 10:27:27 2019 network interface lo: Local host name/address: 127.0.0.1
Mon Sep 9 10:27:27 2019 network interface lo: Local host name/address: localhost
Mon Sep 9 10:27:27 2019 network interface enp0s3: Local host name/address: 192.168.1.56
Mon Sep 9 10:27:27 2019 network interface enp0s3: Local host name/address: loguservm.local
Mon Sep 9 10:27:27 2019 Network interface enp0s3 at 192.168.1.56 for legacy CUPS browsing/broadcasting
Mon Sep 9 10:27:27 2019 network interface lo: Local host name/address: ::1
Mon Sep 9 10:27:27 2019 network interface enp0s3: Local host name/address: fe80::1a8e:b96e:77e6:f6af
Mon Sep 9 10:27:27 2019 network interface enp0s3: Local host name/address: loguservm
Mon Sep 9 10:27:27 2019 Avahi Resolver: Service 'KONICA MINOLTA bizhub C253(5E:92:C6)' of type '_ipp._tcp' in domain 'local' with host name 'KMBT5E92C6.local' and port 631 on interface 'enp0s3' (IPv4).
Mon Sep 9 10:27:27 2019 Avahi Resolver: Service 'KONICA MINOLTA bizhub C253(5E:92:C6)' of type '_ipp._tcp' in domain 'local' skipped, not a local service.
Mon Sep 9 10:27:27 2019 checking queues in 299s
Mon Sep 9 10:32:26 2019 Processing printer list ...
Mon Sep 9 10:32:26 2019 === Remote printer overview ===
Mon Sep 9 10:32:26 2019 Printer (, ): Local queue konica_minolta_bizhub_c253_5e_92_c6_, Remote CUPS Printer, Slave of None (Unconfirmed)
Mon Sep 9 10:32:26 2019 ===============================
Mon Sep 9 10:32:26 2019 No remote printer named konica_minolta_bizhub_c253_5e_92_c6_ available, removing entry from previous session.
Mon Sep 9 10:32:26 2019 Printer konica_minolta_bizhub_c253_5e_92_c6_ (Host: , Port: 631, URI: ) disappeared and no slave available (or it is a slave of another printer), removing entry.
Mon Sep 9 10:32:26 2019 Removing entry konica_minolta_bizhub_c253_5e_92_c6_ () and its CUPS queue.
Mon Sep 9 10:32:26 2019 Recording printer options for konica_minolta_bizhub_c253_5e_92_c6_ to /var/cache/cups/cups-browsed-options-konica_minolta_bizhub_c253_5e_92_c6_
Mon Sep 9 10:32:26 2019 Printer konica_minolta_bizhub_c253_5e_92_c6_ got modified externally, discovered by the NickName of its PPD file having changed from "(no PPD)" to "ONICA MINOLTA C25, driverless, cups-filters 1.25.1".
Mon Sep 9 10:32:26 2019 === Remote printer overview ===
Mon Sep 9 10:32:26 2019 ===============================
Mon Sep 9 10:32:26 2019 listening
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 86 (86 by maintainers)
These permissions are wrong. On my Ubuntu 19.10 I have
So please run
Then try to print again.
@logTom, @zdohnal, I have now spotted what got wrong here. The get_printer_attributes() function is always checking whether the answer from the printer fullfills the requirements for a request with attributes “all” and optionally “media-col-database” (for generating a PPD file) but when printing a job, cups-browsed does a get-printer-attributes request to find out whether the destination printer is busy. This request fails the checks and so the answer gets suppressed, making cups-browsed giving up on the job. My plans for today are moving the get_printer_attributes() function into libcupsfilters and do some makeover on it, mainly for the “driverless” utility being able to do the same fallbacks (and so support your printer, @logTom). This should fix this problem. @logTom, I have good news for you: Your Konica is not an “official” driverless printer, especially as it is only IPP 1.1, but it provides enough information that a PPD file can be generated and so it should work as a driverless PDF printer.