HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML Forums › Licensing / Purchasing of PD4ML › License Activation
- This topic has 3 replies, 3 voices, and was last updated Apr 23, 2025
23:07:28 byPD4ML.
-
AuthorPosts
-
May 21, 2024 at 13:14#38232
We have purchased the PD4ML V4 Java Single PRO License and plan to use it within the Eclipse environment on Java Module Projects. However, we are facing issues with activating the license. We are using the org.zefer.pd4ml.PD4ML class with the pd4ml-4.0.19fx1-jakarta.jar file. We chose not to use com.pd4ml.PD4ML as its structure is very different from that in org.zefer.pd4ml.PD4ML.
Below is the code we use for PDF conversion, but we are still receiving a demo license warning. Despite meticulously following the instructions provided by the system, we have not been able to find a solution.
Sample Code:
org.zefer.pd4ml.PD4ML pd4ml = new org.zefer.pd4ml.PD4ML();
pd4ml.setPageInsets(new Insets(15, 5, 10, 5));
pd4ml.setHtmlWidth(1024);
pd4ml.setPageSize(pd4ml.changePageOrientation(format));
..May 21, 2024 at 13:59#38233Hi! Try to switch debug on with pd4ml.enableDebugInfo() API call and inspect STDOUT for possible license reading errors.
pd4ml.lic is expected to be in the application workdir or in the classpath root (not in lib/ dir where pd4ml.jar is)
Also even if you use legacy API with PD4ML v3 wrapper, you always have access to v4 instance with
pd4ml.pd4mlNew.applyLicense(code);
April 23, 2025 at 18:01#39534Hi,
I am using an evaluation license for PD4ML version 4.I am trying to convert an HTML document containing characters in various languages to PDF. Does the license allow it because it does not appear to be working and I see question mark signs instead of the actual characters.
When I open the HTML document on the browser, it shows the characters correctly.
Thanks
April 23, 2025 at 23:07#39535Question marks instead of international characters usually indicate that you have configured the TTF embedding feature incorrectly, and PD4ML can only use built-in Acrobat’s core fonts, which are limited to Latin charset.
Obviously, the “Licensing/Purchasing” section is not the right place for such questions. Please ask in “Technical questions / Troubleshooting” next time
-
AuthorPosts
You must be logged in to reply to this topic.
