Comment 6 for bug 71671

Revision history for this message
Douglas Moyes (aragorn-stellimare) wrote :

This is only half of the problem, You also have other files to set (as I stated in #46613)

Here is what you do to fix. As root do the following:
(yes, this has to be done in a root shell not with sudo. If sudo su - doesn't give you a root shell, do sudo /bin/bash --login, better yet, give the root account a password and log in as root)

apt-get install libpaper-utils #some programs use this library to get the paper size
papersize -p letter #this sets /etc/papersize to letter, you could also set this manually.
echo "letter" >/etc/psPaperSize #some other applications use this

Other applications instead allow you to select the default papersize, or use the printer settings, others use these two files. The files in /etc set the preferred paper size. If these aren't set some printers, like my HP Color LaserJet 2605n, will complain about the incorrect paper size being in the print tray, and will refuse to print until you insert in A4 paper size, or override the settings.