man -t odd page size

Polytropon freebsd at edvax.de
Wed Oct 22 22:50:02 PDT 2008


On Thu, 23 Oct 2008 02:58:42 -0200, Gonzalo Nemmi <gnemmi at gmail.com> wrote:
> Brainstorming .. im thinking maybe there should be no app defined default (in 
> this case).. Maybe you just threw the key on the table .. and default should 
> be what an enviromental setting says default should be (PAGESIZE=letter, 
> PAGESIZE=a4) and not what the apps thinks it should be ...

There is something similar placable into /etc/make.conf:

	PAGE=           A4
	PAPERSIZE=      a4
	A4=             yes

But this is of course not honoured by applications at run time,
and only by a few at compile time.



> Furthermore .. 
> maybe the app should halt if it finds no enviromental setting is available 
> and ask the user to set it in order to know how to proceed.

Another idea would to conclude the paper size from a locale setting,
let's say, if it's en_US, then select letter, or A4 else.

For example, programs like Gimp require a setting to be done manually
from within the printing dialog. It shouldn't be there. Things like
paper size should be set at system level, not neccessarily at
application level. It will make things easier when administrating
a system - set paper size once, then forget it.

An idea would be to place the paper size setting "near" your
printing filter (not the spooler) and advice applications to read
it from there, maybe from a file, maybe from an environmental
variable.





-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list