On Wed, 2005-02-09 at 11:49 -0500, Chris Chiappa wrote:
> Without any locale settings set, but with CUPS properly configured, it would
> be nice if Xprt would just default to whatever the printer's default is.

Aye, dynamic printer settings are on the "To Do" list.

> It seems to me that I used to get LETTER rather than A4 but I may be
> misremembering.  In any case, I can't get it to listen to any locale
> environment variables (note, I've never run with any before so I may be
> missing something):
> 
> $ LANG=en_US LC_CTYPE=en_US LC_NUMERIC=en_US LC_TIME=en_US LC_COLLATE=en_US
> LC_MONETARY=en_US LC_MESSAGES=en_US LC_PAPER=en_US LC_NAME=en_US
> LC_ADDRESS=en_US LC_TELEPHONE=en_US LC_MEASUREMENT=en_US
> LC_IDENTIFICATION=en_US LC_ALL=en_US firefox &
> 
> ...this still defaults to A4 even though I've verified en_US wants letter:
> 
> $ grep medium /etc/Xprint/en_US/print/attributes/document 
> *default-medium: na-letter
> 

Sorry about the inconvenience.  You're doing all the obviously right
things (and /etc/Xprint/en_US/print/attributes/document is the right
place for this kind of setting, you shouldn't have to
edit /etc/Xprint/C/print/attributes/document).

Locale variables are kind of complicated.  If I remember right there is
another one called LANGUAGE.

Try setting LANGUAGE=en_US and see if that helps.

Drew



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to