[GNC] Income/Expense report to pdf broken

John Ralls jralls at ceridwen.us
Mon Mar 24 22:55:36 EDT 2025


The graphs are implemented with JavaScript, meaning that the browser (in the case of GnuCash’s report tabs, a GtkWebkitWebView.

If you save the report to HTML and open it with a normal browser does it print to PDF correctly? What if it’s Gnome Web, aka Eclipse?

Regards,
John Ralls


> On Mar 24, 2025, at 19:36, Elliot Huntington <elliot.huntington at gmail.com> wrote:
> 
> Hello,
> 
> I'm running Arch Linux with GnuCash.
> 
> Version: 5.10
> Build ID: 5.10-unknown-commit(2025-02-08)
> 
> When I go to: "Reports -> Income & Expense -> Income & Expense Bar Chart"
> I'm successfully able to see the report data just fine. However, when I
> select the option to "Make Pdf" and proceed to save the report to a
> PDF document on my computer, the report does not export properly to a
> PDF document. It does generate a PDF document. But if I leave the printer
> settings at the default (meaning portrait mode) then the top half of the
> generated PDF document appears solid black and the bottom half of the
> document appears solid white. The same happens if I just print the report.
> Besides the page margins, the top half of the page is black and the bottom
> half is white. If I change the print settings to be in landscape mode, both
> the exported PDF document (and the page printed from my printer) both
> appear solid white. Nothing prints in the report at all.
> 
> Now, If I generate other reports and export those to PDF, they work fine.
> For example I am able to successfully export the Income Statement, Equity
> Statement, Balance Sheet, and Cash Flow reports to PDF documents. They
> export just fine, and the print just fine.
> 
> Maybe this has something to do with reports that print charts. I don't
> understand why the Income & Expense Bar Chart report will render fine in
> the application, but exporting it to a PDF document is broken.
> 
> Any ideas?
> 
> Thank you,
> Elliot
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list