GNOME Bugzilla – Bug 450487
print should respect locale paper size by default
Last modified: 2007-06-25 21:58:17 UTC
Please describe the problem: Only the US and some other countries use Letter sized paper. I'm in Europe; we use a4. Yet, evince (which I understand uses gtk for printing) is set to 'Letter' by default. Steps to reproduce: Print in evince and notice that evince prints Letter, even though you're in Europe, /etc/papersize is set to a4, local is european, etc... Actual results: eg. when you print an a4 page to a file, the bottom part will be cut off, because the program that prints thinks you want to print to letter (which is shorter than a4) Expected results: respect the local settings, or the paper size settings Does this happen every time? Other information: I already filed a bug against evince about this, but I've heard eog has the same problem, and that this is a gtk bug.
here is a very good article explaining why Letter is a rather bad default choice over A4: http://www.cl.cam.ac.uk/~mgk25/iso-paper.html#na
Tim, this bug report has a much more limited scope that article: printing in a European Gnome installation should not default to Letter, it's as simple as that. I hope that convincing the US to switch to A4 is not a dependency of this bug! You know this of course, so sorry for this comment. I just want to make sure that this bug report doesn't lose its focus...
Please specify the evince and gtk version you're using; evince only uses gtkprint since version 0.6, and only when compiled with gtk+ >= 2.10. So when you go to File->Print Setup in the evince menus, the default paper size chosen is Letter, instead of A4 ? This works here for me with de_DE.UTF-8 locale; what's your locale setting ?
- Evince 0.9.1 from Ubuntu Gutsy repositories - Yes, paper size is at 'letter' when I look in File/Print setup michael@desktop:~$ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= I suppose the LC_PAPER setting is at fault? If so, Ubuntu shouldn't have set it at en_US.UTF-8 in the first place, even if I want my language settings to be US english.
So the default paper size is exactly as expected for your chosen locale.
*** Bug 450485 has been marked as a duplicate of this bug. ***