Created attachment 957135 [details] Search printers associated with drivers for a match when generating ppd. Description of problem: foomatic doesn't provide some PPD files which it lists in "/usr/lib/cups/driver/foomatic list". Addition of some printers fails because of this. It helps to traverse through list of printers associated with drivers when searching for the PPD file (see the attached patch). Version-Release number of selected component (if applicable): foomatic-4.0.11-5 How reproducible: always Steps to Reproduce: 1. remove splix package, install foomatic-db and foomatic-db-ppds 2. run '/usr/lib/cups/driver/foomatic list | grep "Samsung ML-2010"' 3. run '/usr/lib/cups/driver/foomatic cat "foomatic:Samsung-ML-2010-gdi.ppd"' Actual results: "foomatic:Samsung-ML-2010-gdi.ppd" en "Samsung" "Samsung ML-2010 Foomatic/gdi" "DRV:Dgdi,M0,TG;" ERROR: Could not determine driver name for Samsung-ML-2010-gdi.ppd! Expected results: "foomatic:Samsung-ML-2010-gdi.ppd" en "Samsung" "Samsung ML-2010 Foomatic/gdi" "DRV:Dgdi,M0,TG;" `The PPD file for Samsung ML-2010` Additional info: This was originally reported here: https://bugzilla.gnome.org/show_bug.cgi?id=738165#c5
Reported upstream as https://bugs.linuxfoundation.org/show_bug.cgi?id=1238 Thanks Marek !
*** Bug 1169333 has been marked as a duplicate of this bug. ***
foomatic-4.0.11-6.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/foomatic-4.0.11-6.fc21
Package foomatic-4.0.11-6.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing foomatic-4.0.11-6.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-16078/foomatic-4.0.11-6.fc21 then log in and leave karma (feedback).
I have a Samsung ML-1740 printer which could not be added, except by installing splix, and got the exact same output as above except for replacing "ML-2010" by "ML-1740". After removing splix, updating to foomatic-4.0.11-6.fc21, and removing the printer, it got added automatically when turned on. Adding karma.
foomatic-4.0.11-6.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.