Report print to PDF exports a raw image instead of selectable text

Jack ostroffjh at users.sourceforge.net
Sun Feb 4 21:20:08 GMT 2024


On 2/4/24 15:34, Louis-Philippe Allard via KMyMoney wrote:
>
> Quoting Jochen via KMyMoney <kmymoney at kde.org>:
>
>> Hi,
>>
>> Am 01.02.24 um 04:54 schrieb Louis-Philippe Allard via KMyMoney:
>>
>>> as described in email subject, Kmymoney 5.1-606 (AppImage) exports
>>> report in PDF format with an image of the page instead of selectable 
>>> text.
>>>
>>> As anything changed in the way it exports to PDF? To produce the PDF I
>>> always simply opened up the report, did "CTRL+P" and the OS print dialog
>>> box pops up and I selected the "Print to File (PDF)" and set the options
>>> as I wanted.
>>>
>>> The PDF's I exported in the past were always standard PDF's with
>>> selectable text. Now its exporting what seems to be a screenshot of the
>>> contents of the report, and a blurry one at that...
>>>
>>> Sorry if this issue was covered before or if a new setting has been
>>> added to KMM which causes this issue?
>>>
>> you can try to export it into a HTML file, open it in your web browser
>> and print it from there as PDF.
>>
>> More work but it works. ;-)
>>
>> --
>>
>> Viele Grüße,Jochen
>
>
> Hello,
>
> I just tried to export the report as HTML and while its exporting, its 
> not being parsed as HTML code in my browser. I tried with several 
> browsers to no avail.
>
Are you saving as a file with a .html extension and then opening it with 
the browser>  The text below looks OK to me.
>
>
> This is what I get when opening the HTML file with my browser:
>
It looks like the browser is opening the file as plain text instead of html.
>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 //EN" 
> "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
> <title>C1-1: General Insurance Registry (incomp. w/o WP reports)</title>
> <style type="text/css">
> <!--
>
> Any trick to make this work? By the way printing the report to PDF 
> produces a file that exceeds 10Mb (42 pages of transactions)....
> Louis-Philippe Allard
> lp.allard.1 at gmail.com
> Sent using Horde Groupware on GNU/Linux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20240204/95363e66/attachment.htm>


More information about the KMyMoney mailing list