At first, update the drakxtools packages from the Cooker as soon as they 
come out next time, then start Printerdrake and close it, then start the 
GIMP and print (please report your results, I need testers).

David Walser wrote:
> --- Gwenole Beauchesne <[EMAIL PROTECTED]>
> wrote:
> 
>>>Awesome!!!  Where can we get more info. on how
>>

See the end of /usr/lib/libDrakX/printer.pm, especially after doing the 
update which I mentioned in the beginning.

>>this
>>
>>>works (both OO.o and printerdrake)?
>>
>>LC_ALL=<locale> locale -k LC_PAPER returns the paper
>>dimensions for 
>><locale>.
> 
> 
> and then it translates that info. to a paper size
> setting?  Cool.
> 

I use simply the rule of whether LC_PAPER (if not set LANG, LANGUAGE, 
LC_ALL) is "en_CA", "fr_CA", or "en_US". In this case the default paper 
size is "Letter", otherwise "A4" (search for "LC_PAPER" in 
/usr/lib/libDrakX/printerdrake.pm to see the code.

> 
>>printerdrake generates correct psprint.conf if
>>either OOo or SO is 
>>found. But better ask Till for the internals. He is
>>printers master. ;-)
> 

See above.

> 
> Hehe, I was gonna try to implement that, he beat me to
> it.  I wonder if it'll configure the paper size for
> other things too now (like KDE and Mozilla).
> 

Printerdrake does not adjust the default paper size of Mozilla, but KDE 
with its KDE Print infrastructure gets the paper size setting from the 
CUPS configuration of your system, and the CUPS configuration is 
correctly done by Printerdrake.

Happy printing.

    Till


Reply via email to