[GNC-dev] PDF Reports

John Ralls jralls at ceridwen.us
Wed Mar 18 12:14:58 EDT 2020

To complete that comment, pagination is fixed on webkit2, but that works only on Linux. The WebKitGtk maintainers removed support for Windows as part of the WebKit 1->2 transition and on MacOS WebKit2 Javascript fails to return anything so charts don't render. The simplest workaround is to export the HTML, load that in a native browser, and print or generate a PDF from there.

John Ralls

> On Mar 18, 2020, at 6:33 AM, Derek Atkins <derek at ihtfp.com> wrote:
> HI,
> the PDF / pagination issue is due to WebKit, so whether it works or not
> will depend on your platform and what webkit version is available to
> you/us.
> -derek
> On Wed, March 18, 2020 9:19 am, Michael or Penny Novack wrote:
>> On 3/17/2020 11:00 PM, David Carlson wrote:
>>> I added gnucash-user to the cc to distribute this to wider audience.
>>> I believe that if you export to pdf, then some pdf readers do split
>>> between
>>> lines.  I think Firefox is one that works ok, but it has been a while
>>> since
>>> I tried it.
>>> David Carlson
>> Again I will point out, IF you are after "pretty printed" reports (for
>> example, when treasurer of an org, what is handed out to the board or
>> posted on the organization's web site, DON'T expect to be able to all
>> the fancy editing within gnucash. That is not the place for it, and a
>> waste of time for accounting system programmers to try to provide
>> expanded editing control when perfectly good general purpose editors
>> already exist.
>> So in the example here, instead of exporting into PDF expecting that to
>> be print ready, export into something else you can edit, get things like
>> those page breaks where you want them, then convert to PDF and print (or
>> link to site).
>> Michael D Novack
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> -- 
>       Derek Atkins                 617-623-3745
>       derek at ihtfp.com             www.ihtfp.com
>       Computer and Internet Security Consultant
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

More information about the gnucash-devel mailing list