Closed babman92 closed 4 years ago
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. My solution is change the way images render from url to base64 data and everything work perfect.
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 GitHubhttps://github.com/kendallb/PrintHtml/issues/2#issuecomment-406004458, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AncHnVHw5eZ4u8dPnCa-eyFlkKBZBW64ks5uH2qpgaJpZM4PNxov.
[cid:image68e727.JPG@e4fc6882.4ba6663c]
Colin Grierson | Development Consultant
Systems Advisory Services Ltd
##################################################################################### 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.