On 08/13/2014 12:14 AM, Anton Aylward wrote:
On 08/13/2014 12:17 AM, David C. Rankin wrote:
On 08/12/2014 07:59 AM, Josef Wolf wrote:
On Mon, Aug 11, 2014 at 06:02:53PM -0400, Felix Miata wrote:
On 2014-08-11 15:11 (GMT+0200) Josef Wolf composed:
> Where does the second (erroneous) "Media Size" setting in virtually all the > applications come from? Why won't those applications simply use the (correct) > setting from lpoptions?
What is contained in /etc/papersize? That file does not exist.
Try creating it and setting it to A4: I.e.:
sudo bash -c 'echo a4 > /etc/papersize'
I added it in 13.1 and cups and the rest happily default to (letter) on my system.
And this is documented .... Where?
There's mention in the groff documentation that this file can be used, but it is a 'can be', as an example rather than a recommendation or part of how groff works.
Grepping all under /usr/share I don't find any other mention.
In general 'man 5 papersize' (but not on my 13.1) so in general http://linux.die.net/man/5/papersize It has long been the default papersize setting for the system. openSuSE used to provide the file by default. The oldest box I can find running at the moment has it as: $ l /etc/papersize -rw-r--r-- 1 root root 7 2009-10-12 01:01 /etc/papersize $ cat /etc/SuSE-release openSUSE 10.3 (i586) VERSION = 10.3 $ rpm -q --whatprovides /etc/papersize groff-1.18.1.1-99 I was surprised to find it missing on 13.1. (well -- not really surprised I guess) So I just added it. There is no telling what all applications check for the existence of that file to get a default papersize. It should be described in wiki.opensuse.org/printing (if we had one :) Looking at man groff, I find that stray reference to `See groff_tmac(5) for the `papersize' macro package which provides a convenient interface.` But I've not dug to the bottom of that hole yet. I guess this is something that needs to be grepped through cupsd/cups as well as gnome-printer and kprinter to see what, if any, lingering hooks remain. (and then put them up on wiki.opensuse.org/printing :) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org