GNOME Bugzilla – Bug 635254
Check whether a resolution is set in GtkPrintSettings before using it
Last modified: 2011-03-21 15:17:57 UTC
Created attachment 174831 [details] [review] check whether a resolution is defined before setting it Current CUPS backend doesn't check whether a resolution is set in GtkPrintSettings and sets GtkPrinterOption to default resolution (300dpi) in such case. It should check it and keep ppd default value in the GtkPrinterOption if a resolution has not been set in GtkPrintSettings. Attached patch fixes this. This was originally reported downstream here: https://bugzilla.redhat.com/show_bug.cgi?id=630341
This bug is also present in Ubuntu Maverick [1] and the fix works there too. -- [1] https://bugs.launchpad.net/gtk/+bug/735405