Bug 1163731 - Foomatic should provide offered PPD files
Summary: Foomatic should provide offered PPD files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: foomatic
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1169333 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-13 11:22 UTC by Marek Kašík
Modified: 2014-12-15 04:32 UTC (History)
4 users (show)

Fixed In Version: foomatic-4.0.11-6.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-15 04:32:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Search printers associated with drivers for a match when generating ppd. (635 bytes, patch)
2014-11-13 11:22 UTC, Marek Kašík
no flags Details | Diff

Description Marek Kašík 2014-11-13 11:22:31 UTC
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

Comment 1 Jiri Popelka 2014-11-14 09:32:15 UTC
Reported upstream as https://bugs.linuxfoundation.org/show_bug.cgi?id=1238

Thanks Marek !

Comment 2 Tim Waugh 2014-12-01 12:33:15 UTC
*** Bug 1169333 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2014-12-01 13:21:14 UTC
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

Comment 4 Fedora Update System 2014-12-02 01:04:06 UTC
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).

Comment 5 Andre Robatino 2014-12-07 14:53:25 UTC
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.

Comment 6 Fedora Update System 2014-12-15 04:32:09 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.