Forum Replies Created
-
AuthorPosts
-
in reply to: Request for Invoice for License Renewal Payment December 17, 2025 at 16:51#40295
Hi! We’ve just resent the invoice to the registered email address. (The renewal has been ordered from another email). If you cannot find the email, please contact sales@ and let us know the right contact person/email.
in reply to: Technical questions / Troubleshooting December 24, 2025 at 19:30#40311Hi, I have a coldfusion application that uses pd4ml v4 to convert html to pdf. The images in the html page are referenced via https protocol in the “src” attribute of the
tag.
The conversion have been working fine for YEARS. It suddenly stopped working. html page would convert but all the images are missing.
I’ve encountered it in the past a few times, and normally I would just replace the jar file with an updated version and it would start working again.
On the recent failure, I can’t seem to make it work again unless I replace all the “https” with “http”.
When using the command line with the exact same java runtime as coldfusion, it works just fine. But when instantiating the class from coldfusion directly the https images are missing.Here’s my simplified code:
<cfscript>
pd4 = createObject(“java”, “com.pd4ml.PD4ML”);
Constants = createObject(“java”, “com.pd4ml.Constants”);// Now proceed as you already do
htmlPath = “c:\temp\report_pdf.htm”;
fis = createObject(“java”, “java.io.FileInputStream”).init(htmlPath);
pd4.readHTML(fis);pdfPath = “C:\home\a3db.net\wwwroot\beta5\tests\out\outtest0119.pdf”;
fos = createObject(“java”, “java.io.FileOutputStream”).init(pdfPath);
pd4.writePDF(fos);fis.close();
fos.close();writeOutput(“Wrote PDF: ” & pdfPath);
</cfscript>The “report_pdf.htm” simply have:

But you can replace the src with any https image anywhere. This is just an example.
I understand that technically pd4ml doesn’t support https. What’s the reason for that?
I saw something about creating an resource loader class, but it seems too complicated to me.Please help.
Thanks!
-
AuthorPosts
