Bug 157878
Summary: | lpoptions ignored | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tim Waugh <twaugh> | ||||||
Component: | libgnomecups | Assignee: | Matthias Clasen <mclasen> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | johnp, mattdm, stijn | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-03-05 04:12:13 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Tim Waugh
2005-05-16 17:55:22 UTC
Fedora Core 3 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC5 updates or in the FC6 test release, reopen and change the version to match. Thank you! I guess network default options will fix this in FC6 anyway. Tim, unfortunately this is not correct. We have a network printer with duplex unit, which has a default of printing on both sides. However it is impossible to make a *user* default option for one of our users, who by default wants everything printed single-sided. Fortunately Pascal de Vuijst fixed this for Ubuntu, see https://bugs.launchpad.net/ubuntu/+source/libgnomecups/+bug/34112 especially comment 38. I'll upload his patch here as well. I've tested a rebuilt libgnomecups22 on Fedora Core 6, and this problem is fixed for gedit. Unfortunately Evince still doesn't comply with these user defaults, and I'm not sure why. I'm investigating this next. Note also that libgnomecups is looking for user options in the wrong place -- but that's a separate bug that I'll file also. Created attachment 158429 [details]
respect user default CUPS options
Patch by Pascal de Vuyst that lets libgnomeprint respect the user default CUPS
options, as set by lpoptions(1).
this needs to be refactored for gtkprint also Created attachment 159409 [details]
patch for CUPS GtkPrint backend to honor ~/.cups/lpoptions
Turned out that Evince used GtkPrint instead of libgnomecups, indeed (I didn't
know that).
Attached is a patch to the FC-6 GTK+ (2.10.8) that enables both a user-set
default printer as well as user-set default options for printers.
As this is my first C code in a very long time, there's bound to be errors, so
please review carefully :)
Reported upstream as bug 469210 ( http://bugzilla.gnome.org/show_bug.cgi?id=469210 ). These patches are in rawhide now. |