[ale] papersize

Sean C. McCord scmlist at cycoresys.com
Sun Apr 19 02:20:00 EDT 2009


On Sun, Apr 19, 2009 at 12:15:06AM -0400, Michael B. Trausch wrote:
>On Sat, 18 Apr 2009 23:43:07 -0400
>Jim Kinney <jim.kinney at gmail.com> wrote:
>
>> This has me puzzled. I have /etc/papersize set to letter yet gedit
>> still spits out a call to print to A4. Which causes my printer to
>> puke.
>> 
>> WTF?!?!?
>> 
>> So I look in ~/.gnome2 and poke in the gedit files. All the ones that
>> _have_ a paper size are set to letter.
>> 
>> There is no config in setting in gedit that adjust the papersize. It's
>> handled by the gnome printing engine.
>> 
>> which reads the system variable $PAPERSIZE which is set by the
>> /etc/papersize file!!!
>> 
>> AAARRRGGGHHH!!!!!
>> 
>> So did some European coder hardcode A4 as a default paper size?
>
>Have you tried re-creating the printer?
>
>I know that there was a bug a while back wherein the default on Ubuntu
>was A4, and even after the configuration was changed the printer would
>have to be deleted and recreated (because the setting was copied into
>the printer setup) in order to fully take effect.

Also, check your LANG, LC_ALL, and LC_PAPER environment variables
(which may or may not exist).  If they do, make sure they have en_US
or something similar.  If they don't, try setting LC_ALL=en_US or
en_US.UTF-8.

--
Sean C. McCord
scmlist at cycoresys.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://mail.ale.org/pipermail/ale/attachments/20090419/7f621c9e/attachment.bin 


More information about the Ale mailing list