Locale?

Anne Wilson cannewilson at tiscali.co.uk
Sat Feb 11 22:34:50 UTC 2006


On Saturday 11 February 2006 21:45, Jonathan Ryshpan wrote:
> I'm still trying to print man pages on US Letter paper without success.
> This is the same problem as getting "groff -Tps ..." to emit output fo
> letter size paper, which doesn't seem to be so easy to do.  And so, I
> have been led to locales, which seem to be very useful and very
> undocumented.  Can anyone point me to documentation on the following:
>
> Questions
>
> (1) How is the locale set?  It's easy to read it: just type "$ locale".
> (2) How does the locale relate to the environment variables LC_*?
> (3) How does the locale control the paper size?  "$ locale" prints out a
> value for LC_PAPER, but "man 7 locale" doesn't refer to it.
>
> BTW: I was advised to "$ echo letter > /etc/papersize", to get groff to
> emit the right kind of output.  It doesn't work.
>
> Also have been advised to edit /etc/sysconfig/i18n but it's not clear
> just what to put into it.
>
This may be an over-simplistic view, but have you tried viewing the man page 
in konqueror, then printing from there?  That would print with your default 
printer settings.

Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060211/313b032f/attachment-0001.sig>


More information about the fedora-list mailing list