Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running suse 12.1x86 (Gnome 3) with cups 1.5.x (guessing, I'm not at my pc right now). We have a network-connected Xerox printer and recently we changed its IP.

Connection to the printer was configured through socket like: socket:// I was changing IP in my configuration "the lazy way" - editing the configs. I did following:

  1. stopped cups
  2. edited printers.conf and printers.conf.0 and changed socket:// to socket://
  3. started cups
  4. checked if change went ok (it did)

With the old configuration everything was working superb. After I changed the IP, my cups keeps telling me I have selected "US Letter" paper format (I was using and want to use A4). Also apps like LibreOffice and gedit default to "US Letter" and even if I change the settings in them directly it doesn't work - they immediatelly back from "A4" to the "US Letter". But when I look into cups web interface on localhost:631 everything is set to the "A4" and correct.

I also tried reinstalling cups by deleting:




and reinstalling through zypper in --force cups with no effect. Do you have any ideas where I should look now? (Needles to say i tried to delete and create printer, reconfigure it through web interface and those obvious things.)

share|improve this question
up vote 1 down vote accepted

I found a workaround to this.

I edited the ppd file of the printer (/etc/cups/ppd/...) and changed the line

*OrderDependency: 60.0 AnySetup *PageSize


*OrderDependency: 60.0 *PageSize AnySetup

(The default page size is set to A4.) It will cause problems if I wanted to print on any other paper than A4 - which I won't so this is kinda sufficient solution for me.

share|improve this answer
This is also the file that lets you set up everything else such as duplex printing. – Arthur Jan 16 '15 at 19:10

Check the contents of the file /etc/papersize editing to add a single line containing the page size as "a4" without the quotes which should then get A4 as the default printer page size for all applications including Libreoffice. Also there are the commands "paperconf", "papersize" and "paperconfig" so have a look at their man pages.

For the printer itself try using a browser to go to localhost:631 which should get you to the cups management interface and then click the printers tab, and then manage the printer concerned. From here it should be possible to change the default printer page size to A4.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .