[GNC] PDF export of reports

John Ralls jralls at ceridwen.us
Sat Jan 26 10:58:06 EST 2019



> On Jan 26, 2019, at 4:50 AM, Geert Janssens <geert.gnucash at kobaltwit.be> wrote:
> 
> Op zaterdag 26 januari 2019 13:02:38 CET schreef Jay Ridgley:
>> On 1/26/19 2:50 AM, Geert Janssens wrote:
>>> Op zaterdag 26 januari 2019 00:40:11 CET schreef Tommy Trussell:
>>>> On Fri, Jan 25, 2019 at 2:57 PM Raimund Strehl
>>>> <raimund.strehl at novamar.de>
>>>> This is a known bug, and the good news is you already know the
>>>> workaround!
>>>> (Export as HTML, open the report in a web browser or some other program
>>>> and
>>>> print to PDF from there.) You'll find that it probably also affects
>>>> reports
>>>> sent to a printer.
>>>> 
>>>> I believe the bug has been addressed in NON-Windows versions of GnuCash,
>>>> but still affects Windows due to an outdated software "library" outside
>>>> the
>>>> control of GnuCash developers.
>>> 
>>> Unfortunately it's only addressed for linux. On MacOS we have the same
>>> issue.
>> Geert,
>> 
>> What version of of Ubuntu contains the fix? I am running 2.6.12 under
>> Ubuntu 16-04.5 LTS.
> 
> That I don't know. I do know it is fixed for gnucash 3.x on linux. So you'll 
> need to find a way to install that version on your system. I don't think it's 
> provided for Ubuntu 16.04.

The fix is to upgrade to GnuCash 3.x, which uses WebKit2 instead of WebKit1 on Linux. WebKit2 won't build on Windows and while it builds on MacOS I can't get it to run Javascript so the charts are broken, so GnuCash uses WebKit1 on those platforms.

GnuCash 3.x is available in Debian testing. There's apparently a .deb available for Ubunutu 18.10 and Steven Butler has been working on making one available for 18.04; you can read about his efforts in the list archive.

If you're able to build from source, GnuCash 3.x is known to build on 14.04 and later... in fact building on 14.04 is part of our CI tests.

Regards,
John Ralls



More information about the gnucash-user mailing list