[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting paper-size
From: |
Ben Pfaff |
Subject: |
Re: Setting paper-size |
Date: |
Wed, 19 Sep 2007 22:05:36 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
John Darrington <address@hidden> writes:
> On Wed, Sep 19, 2007 at 09:29:47PM -0700, Ben Pfaff wrote:
> What's LC_PAPER? This is the first I've heard of it. I can't
> find anything about it in the glibc manual or SUSv3. I'm happy
> to support it, though, if you've got a spec or a description.
>
> Hmm. It seems to be an undocumented feature, but it's there in
> /usr/include/langinfo.h
>
> Using the proglet below, I get the results:
>
> address@hidden:~$ export LC_PAPER=en_AU
> address@hidden:~$ ./a.out
> W: 210; H: 297
> address@hidden:~$ export LC_PAPER=en_US
> address@hidden:~$ ./a.out
> W: 216; H: 279
>
> So it seems to be implemented in glibc at least.
It's simple enough, then. Thanks.
--
"doe not call up Any that you can not put downe."
--H. P. Lovecraft