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!
in reply to: License Activation February 2, 2026 at 13:18#40431Hello Team,
we have got username and password and activation key how to use in our maven structured project, I have followed steps mentioned in programmers manual, But dependency not being resolved.
in reply to: Technical questions / Troubleshooting March 9, 2026 at 17:44#40708Project context:
We generate PDFs from HTML (Thymeleaf), CSS, JSON, and Java using PD4ML 4.1.0.
The PDF consists of multiple “sections”. A section can span multiple pages because tables are generated dynamically based on received JSON data.
Each section may contain one or more dynamic tables. Tables are generated, for example, using:
th:each=”row, status : ${table.testdata1.data1}” th:classappend=”${status.last} ? ‘last-row'”
For each section, there is a section specific footnote (legend) at the bottom of the page.Current implementation:
Sections are separated by:
<pd4ml:page.break/>
The individual footnotes are rendered with:
<pd4ml:footnote noref>…</pd4ml:footnote>
inside at the end of the corresponding section.It seems that by default, all footnotes from the different sections are collected and rendered together at the very end of the last page of the document, instead of below their respective sections.
To work around this, we currently place an empty <p></p> at the end of each footnote:
<pd4ml:footnote noref>…</pd4ml:footnote> <p></p>With this workaround, the footnote stays on the last page of its section.
Functionally this gives us the desired footnote placement, but the fact that it only works with an extra empty <p> feels more like a workaround than the intended behavior.We want to try 2 different Variants for our PDF’s to see which is more fitting for us:
1.Footnote at the end of each section
Goal:
We want to have, at the end of each section, a section specific footnote at the bottom of the last page of that section.Current behavior:
In most cases this works with our current implementation as expected: there is enough space, and the footnote appears correctly at the bottom of the last page of the section.
But a problem occurs when the tables of a section fill a page so much that no space is left for the footnote on that last page.
In this case, the footnote for the first section moves to the next page and appears on the page of the following section, often together with the second section’s footnote. So both footnotes are on the second sections which we don’t want.Attempt with ifSpaceBelowLessThan:
To handle the “page full” case, we tried adding a conditional page break directly before the footnote, for example:
<pd4ml:page.break ifSpaceBelowLessThan="200px"/> <pd4ml:footnote noref>…</pd4ml:footnote>The idea was:
If the page is so full that there is not enough space for the footnote, a new page should be created that contains at least a small portion of the table content together with the footnote.
If there is enough space, no additional page break should occur.However, in our scenario, ifSpaceBelowLessThan has no visible effect with reasonable values. It only seems to trigger when we use extremely large numbers like “10000000000”.
An unconditional <pd4ml:page.break/> at the same position works, but we don’t want to have the footnote alone on an empty page. Instead of that, we want the footnote always to appear together with at least some table content from the same section.Desired results:
– When there is enough space for the footnote, the footnote should appear at the last page at the end of the section just as it does currently.
– When the page is full and there is not enough space for the footnote, some table rows should be moved to the next page together with the footnote, so that the footnote shares that page with at least a small portion of the section’s last table content.2. Full page footnote
In addition to the above, we would also like to understand whether PD4ML supports, or how we can implement, a pattern where the section-specific footnote for each section is shown at the bottom of every page of that section, not only at the end of the section. We haven’t found a direct solution for this because we need the footnote always at the bottom of the page therefore we use pd4ml:footnote and with that tag it only appears once at the end.
Goals:
– On each page of a section, the corresponding section specific footnote is visible at the bottom.
– Footnotes never appear on a page that is completely empty there should always be at least some content (from the same section) on that page together with the footnote.Questions
– From our perspective with our Problem at the 1. Variant, it looks as if the page break with ifSpaceBelowLessThan is either miscalculated at this position, or the interaction between page.break with ifSpaceBelowLessThan followed by an unconditional page break, or the interaction between page.break with ifSpaceBelowLessThan and pd4ml:footnote, works differently than expected. Is this behavior currently working like that as intended?
– Are there any recommended patterns or examples for implementing a section specific footnote at the end of each section that correctly handles the “page full” case (i.e., no empty pages with only the footnote and ideally some table content moving to the next page)?
– Is it possible to have each page of a section display its individual footnote at the bottom, instead of only at the end of the section? If so, how should this be structured with using pd4ml:footnote?In the attached files you will find example files as well as screenshots showing the current result and the expected result (for both Variants) for reference.
Attachments:
You must be logged in to view attached files. -
AuthorPosts
