-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot print image in html file #2
Comments
Hi everyone, instead of using path to image, i use image data base64 and it ok. |
Hi babman92 I have got this issue when I first use. |
I too do not have images printing. The text is rendered correctly and a faint outline, with a '?' at the center, shows where the image ought to be.
|
Images are printing fine for us, but we are no longer using this utility as we have gone paperless in our DC. However the program is build using Qt so the first thing would be to get the Qt code for the release we used and see if the internal browser is able to render properly. Since it prints using the internal QtWeb browser, if that is having issues loading your images that would explain the problem. I believe since I wrote this code there has been movement on improving the web browser printing support in the latest releases of Qt, so someone should consider porting it to the latest version of Qt to see if it works better. I took a quick look at it a couple of months ago, but the API's are completely different so I didn't have any time to work on it :( |
Many thanks for your quick and helpful reply.
Colin
From: Kendall Bennett <notifications@github.com>
Sent: Thursday, 19 July 2018 5:05 a.m.
To: kendallb/PrintHtml <PrintHtml@noreply.github.com>
Cc: Colin Grierson <Colin.Grierson@sasit.co.nz>; Comment <comment@noreply.github.com>
Subject: Re: [kendallb/PrintHtml] Cannot print image in html file (#2)
Images are printing fine for us, but we are no longer using this utility as we have gone paperless in our DC. However the program is build using Qt so the first thing would be to get the Qt code for the release we used and see if the internal browser is able to render properly. Since it prints using the internal QtWeb browser, if that is having issues loading your images that would explain the problem.
I believe since I wrote this code there has been movement on improving the web browser printing support in the latest releases of Qt, so someone should consider porting it to the latest version of Qt to see if it works better. I took a quick look at it a couple of months ago, but the API's are completely different so I didn't have any time to work on it :(
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#2 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AncHnVHw5eZ4u8dPnCa-eyFlkKBZBW64ks5uH2qpgaJpZM4PNxov>.
[cid:image68e727.JPG@e4fc6882.4ba6663c]
Colin Grierson | Development Consultant
Systems Advisory Services Ltd<www.sasit.co.nz>
520 Great South Road, Greenlane, Auckland, New Zealand | PO Box 17-268 Greenlane
Phone +64 9 525 7353 | DDI +64 9 580 8745 | Email Colin.Grierson@sasit.co.nz<mailto:Colin.Grierson@sasit.co.nz>
We develop, integrate and manage mission critical systems
#####################################################################################
Scanned by MailMarshal - Marshal8e6's comprehensive email content security solution.
#####################################################################################
|
I have an image in html page. I print this html page with PrintHtml, printer just print text, image not printed on paper.
My folder html page:
https://www.dropbox.com/s/bwxejll11934v0r/PrintHtmlDemo.rar?dl=0
Please help me, thanks in advance.
The text was updated successfully, but these errors were encountered: