3

Whenever I hit my Print to file:

enter image description here

Default paper size seems to be US Letter:

enter image description here

Is there a way to set different default (A4 for instance) here?

Thanks!

radek
  • 1,222
  • 3
  • 18
  • 30

2 Answers2

6

I am not sure but try this and reboot your computer:

paperconfig -p a4

http://manpages.ubuntu.com/manpages/lucid/man8/paperconfig.8.html

Hckr
  • 951
  • 6
  • 23
  • Thanks. Tried that and got console output of set parameter. Unfortunately - it didn't change the default. – radek Nov 14 '12 at 19:31
  • 2
    If you want to set it A4,Add the following lines into /etc/environment file: `LANG="en_GB.UTF-8" LC_PAPER="en_GB.UTF-8" ` Try `sudo paperconfig -p a4` restart your computer and let us know the result. – Hckr Nov 14 '12 at 19:52
  • I've changed it in `/etc/default/locale` (does it make a difference?) and it solved the problem. Thanks. – radek Nov 14 '12 at 20:03
  • 1
    I am not expert on localization in Ubuntu :) But i think no difference.However, also you can reach your achieve with this command `sudo dpkg-reconfigure libpaper1` – Hckr Nov 14 '12 at 20:05
  • @Hckr `dpkg-reconfigure` did **not** change the paper size for me on Ubuntu 12.04. including restarting. – JJD May 19 '13 at 12:56
  • 1
    @radek Be careful! Appending `LC_PAPER="en_GB.UTF-8` to `/etc/default/locale` caused that my Ubuntu 12.04. would **no longer boot**! Please be precise about the settings you suggest, if I have mistaken your comment. – JJD May 19 '13 at 13:57
  • @Hckr The only settings that worked for me is adding `LANG` and `LC_PAPER` to `/etc/environment`. Thanks! As a follow up please consider reading [this question](http://askubuntu.com/questions/142253/more-print-to-file-settings), too. – JJD May 19 '13 at 14:43
  • 1
    I am using Debian with Gnome 3.30.2 and this answer got me in the right direction. This might help newer Ubuntu Users as well: In my case it was `sudo paperconf -p a4` which did the trick. – aldorado Dec 22 '20 at 08:26
0

There is a simpler way

Click on Paper size, select manage custom paper and give your custom paper size here