[GNC] How do I persuade gnucash or webkit to use us-letter and not a4 as default paper size ?

David Reiser dbreiser at icloud.com
Sun Feb 2 11:14:22 EST 2025


> On Feb 1, 2025, at 16:53, dewaj <dewaj at garlic.com> wrote:
> 
> Follow-up:
> 
> gnucash 5.10 flatpak current .
> 
> Linux Devuan Daedalus ( debian 12 fork ) .
> 
> Selected printer : Print to PDF
> 
> Paper size is a4 and must be manually changed to us-letter .
> 
> Always print to PDF for proofing before printing to paper .
> 
> PDF proof does not require change of papersize at printing .
> 
> Defined system papersize : USLetter
> 
> Default system papersize changed to : USLetter
> 
> System papersize is disregarded by gnucash printing .
> 
> System papersize is disregarded also by mozilla firefox & forks .
> 
> is this certainly a webkit problem ?
> 
> 
> Thanks,
> 
>> dj

Not webkit. Probably gtk. I stumbled across a message I posted to gnucash-user in 2007 (yep, seventeen+ years ago) about gtkprint’s default to a4 paper. There is more than one way to declare a paper size to various unix systems ( /etc/papersize and lpoptions being 2), and not all unix versions handle all methods. I use mostly macs, and back then adding

export LC_MESSAGES=en_US.UTF-8

to my .profile file worked for me. 

It has been a long time since I knew much about the workings of the settings dungeons in unix. That setting is still in my profile, but I have no idea if it is really doing anything anymore. I print about 10 checks and 1 report per year. I don’t remember any problems, but who knows if I did some odd settings work to get the check format to print properly...

Dave
--
Dave Reiser
dbreiser at icloud.com




More information about the gnucash-user mailing list