This also affects Evince and Gedit. I discovered the bug whilst trying to print using Evince to a custom page size (A4 but with a 40mm left border) which I called "Sunshine Border". Both preview and printing either fail or sometimes print using default A4 margins. I was trying to track down the cause for that inconsistency and followed a bug-trail to this report.
I compared Evince against Gedit. After selecting the custom size in the Print dialog (in my case "Sunshine Border) I found Gedit's preview will show the 40mm border, but printing fails... ... UNLESS I have previously used the CUPS printer administration to set the default page-size to 'Custom' and entered the 210x297 millimetre values. http://localhost:631/admin/ > Printers > DESKJET-995C > Administration > Set Default Options... > Media Size = "Custom", Width=210, Height=297, Units=Millimeters > Set Default Options. I noticed in CUPS error_log that PageSize wasn't 0x0 for me (only get that when selecting "Custom" when the size hasn't been configured in CUPS administrator): PageSize=Custom.Custom.595.28x841.89 At first I thought this was in millimeters and is wrong, but then realised the units are points (1 PostScript point = 0.352777778 millimetres). So, in summary: Gedit: Can print using custom paper size as long as CUPS default custom size is also configured, and custom margins are honoured. Evince: Can print using custom paper size as long as CUPS default custom size is also configured, but custom margins are ignored. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gimp in Ubuntu. https://bugs.launchpad.net/bugs/998156 Title: GTK Print dialog sends broken custom page size attribute: "PageSize=Custom.Custom.<width>x<length>" Status in GTK+ GUI Toolkit: New Status in “firefox” package in Ubuntu: Confirmed Status in “gimp” package in Ubuntu: Confirmed Status in “gtk+3.0” package in Ubuntu: Confirmed Status in “inkscape” package in Ubuntu: Confirmed Status in “firefox” source package in Precise: Confirmed Status in “gimp” source package in Precise: Confirmed Status in “gtk+3.0” source package in Precise: Confirmed Status in “inkscape” source package in Precise: Confirmed Status in “firefox” source package in Quantal: Confirmed Status in “gimp” source package in Quantal: Confirmed Status in “gtk+3.0” source package in Quantal: Confirmed Status in “inkscape” source package in Quantal: Confirmed Status in “gtk+2.0” package in Debian: Unknown Bug description: When trying to print a photo, the printer stops with status "rendering completed". I have to remove all printing jobs and restart CUPS to be able to print again. This error does not occur when printing other documents, i.e. simple text. I use a HP PhotoSmart b109a connected to a Fritz!Box 7390 wireless router ("socket://fritz.box:9100"). This bug is also present in Debian: http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=664031 To manage notifications about this bug go to: https://bugs.launchpad.net/gtk/+bug/998156/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp