Bug 1150917 - [control-center] incomplete printer options for HP LaserJet 4000
Summary: [control-center] incomplete printer options for HP LaserJet 4000
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1169526 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-09 07:58 UTC by Joachim Frieben
Modified: 2014-12-02 15:18 UTC (History)
9 users (show)

Fixed In Version: cups-1.7.5-13.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-29 11:04:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Printer options for HP LaserJet 4000 (9.37 KB, image/png)
2014-10-09 07:58 UTC, Joachim Frieben
no flags Details


Links
System ID Private Priority Status Summary Last Updated
CUPS Bugs and Features 4500 0 None None None Never

Description Joachim Frieben 2014-10-09 07:58:07 UTC
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.

Comment 1 Marek Kašík 2014-10-09 10:08:03 UTC
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

Comment 2 Joachim Frieben 2014-10-09 11:53:40 UTC
(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.

Comment 3 Marek Kašík 2014-10-09 12:00:52 UTC
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 :) ).

Comment 4 Tim Waugh 2014-10-10 16:37:07 UTC
The permissions should be 0644.

Comment 5 Marek Kašík 2014-10-13 13:56:47 UTC
(In reply to Tim Waugh from comment #4)
> The permissions should be 0644.

Thank you for clarification of this.

Comment 6 Tim Waugh 2014-10-15 12:30:50 UTC
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

Comment 8 Fedora Update System 2014-10-17 16:46:54 UTC
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

Comment 9 Fedora Update System 2014-10-17 16:53:36 UTC
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

Comment 10 Fedora Update System 2014-10-17 19:44:51 UTC
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).

Comment 11 Fedora Update System 2014-10-29 11:04:59 UTC
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.

Comment 12 Fedora Update System 2014-11-10 05:55:05 UTC
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.

Comment 13 Fedora Update System 2014-11-23 18:50:54 UTC
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

Comment 14 Tim Waugh 2014-12-02 15:18:55 UTC
*** Bug 1169526 has been marked as a duplicate of this bug. ***


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