Date: Thu, 23 Oct 2008 07:49:53 +0200 From: Polytropon <freebsd@edvax.de> To: Gonzalo Nemmi <gnemmi@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: man -t odd page size Message-ID: <20081023074953.9b2c4c2d.freebsd@edvax.de> In-Reply-To: <200810230258.42153.gnemmi@gmail.com> References: <200810222335.26022.gnemmi@gmail.com> <200810230107.11493.gnemmi@gmail.com> <alpine.BSF.2.00.0810222132530.6349@wonkity.com> <200810230258.42153.gnemmi@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Oct 2008 02:58:42 -0200, Gonzalo Nemmi <gnemmi@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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081023074953.9b2c4c2d.freebsd>