Public bug reported:

Hi

When browsing is enabled in cups, then the local cupsd reexports the
printers found on the network. But not all requests to a printer are
proxied by the local cupsd - the download of ppd files is an exception.

libgnomecups, however, tries to download the ppd file from the local
cupsd, which fails, and then assumes that there is no ppd file,
therefore presenting no options for the printer.

I patches libgnomecups by adding _gnome_cups_printer_get_ppd_host to
gnome-cups-printer.c, and using that (instead of
_gnome_cups_printer_get_host) in gnome_cups_printer_get_ppd.

_gnome_cups_printer_get_ppd_host look similar to
_gnome_cups_printer_get_host but doesn't check
go_directly_to_printer_when_possible - instead, it always parses the
hostname out of the printer_uri.  Since printer_uri is actually printer-
supported-uri - which is used for the same purpose by original cups
client library - my fix should make the behaviour of libgnomecups and
libcupsys more similar.

** Affects: libgnomecups (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
PPD Download broken for printers found via browsing
https://launchpad.net/bugs/52867

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to