Created attachment 945215 [details] Printer options for HP LaserJet 4000 Description of problem: The printer module of gnome-control-center barely shows any configurable option for an HP LaserJet 4000 (see attached screenshot) whereas it used to allow for setting paper size, printing quality, paper size, etc. Version-Release number of selected component (if applicable): control-center-3.14.0-1.fc21.x86_64 How reproducible: Always. Steps to Reproduce: 1. Install HP LaserJet 4000 using g-c-c. Actual results: Only pages per size and paper orientation can be modified. Expected results: Usual printer options such as paper size, etc. are displayed. Additional info: Actually, system-config-printer has the same problem.
Hi, thank you for the report. The problem is caused by permissions of PPD file returned by cupsGetPPD(). It has permission 640 here (try to change permissions of /etc/cups/ppd/your-printer.ppd to 644). gnome-control-center can not read it then. It is probably related to the PPD deprecation in CUPS. Maybe Tim could tell us whether this should work yet or whether we need to reimplement it immediately? (I started to work on this on gtk+ side 2 weeks ago, but still not finished...) Or maybe, I could reimplement it using "GET" request for now which works in gtk+ yet. Marek
(In reply to Marek Kašík from comment #1) Thanks, setting permissions of /etc/cups/ppd/HP-LaserJet-4000.ppd to 644 does the job. However, gnome-control-center required the root password for unlocking the printer panel, thus, necessary privileges should have been granted.
Actually, the unlocking is for cups-pk-helper which we don't use for requesting of the PPD. Getting of PPDs is not implemented in cups-pk-helper and since the PPD is deprecated, I don't plan to implement it (but I can change my mind :) ).
The permissions should be 0644.
(In reply to Tim Waugh from comment #4) > The permissions should be 0644. Thank you for clarification of this.
The upstream opinion is that the permissions should be 0600 but that cupsGetPPD3() should return the pathname of a readable file (which the caller should unlink() when finished with). cups-2.0.0-5.fc22 cups-1.7.5-9.fc21 cups-1.7.5-7.fc20
Fix is: http://pkgs.fedoraproject.org/cgit/cups.git/commit/?h=f21&id=5b29618af34acd4057ae69209b5357e3e3b9ec8b
cups-1.7.5-10.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/cups-1.7.5-10.fc21
cups-1.7.5-8.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/cups-1.7.5-8.fc20
Package cups-1.7.5-10.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 cups-1.7.5-10.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-13104/cups-1.7.5-10.fc21 then log in and leave karma (feedback).
cups-1.7.5-11.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
cups-1.7.5-13.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
cups-1.6.4-12.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/cups-1.6.4-12.fc19
*** Bug 1169526 has been marked as a duplicate of this bug. ***