On Tue, 30 Apr 2002 21:27:13 -0500 David Starner <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 30, 2002 at 09:30:46PM -0400, Jungshik Shin wrote: > > Debian should support LC_PAPER locale category instead of > > relying on /etc/papersize. psutil (psresize, psnup,etc) > > relies on it to pick the default paper size. If it's set to > > en_US.xxx, it uses letter *by default*. Otherise, it uses > > A4 *by default*. > > And Debian psutils uses /etc/papersize (actually libpaperg, a wrapper > around that one line file), since that's the Debian way. The > locale method doesn't make sense, as what size paper the printer has is > not usually a user setting. Also, the locale system has two > alternatives, letter or A4, ignoring the possiblity that someone might > have, say, legal size paper loaded. If /etc/papersize is specific to Debian, how would developers consistently detect something like paper size? I think using LC_PAPER should be enough to satisfy most programs. The rest should be handled by an external program like qtcups. That can consult /etc/papersize in Debian or whatever the LSB is recommending. Mike -- May The Source be with you. -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/