Forum Replies Created
-
AuthorPosts
-
in reply to: PD4ML – Which licence key should we use January 23, 2024 at 09:16#37697
Hi,
Could I also mention that the email address which is associated with this account is no longer in existance. If your support team are re-generating an Activation code, will it appear on the “My Licences” page?
in reply to: PD4ML – Which licence key should we use January 24, 2024 at 12:34#37698Hi guys, could you let me know if there hase been any progress on the activation code regeneration?
Kind regards,
Ed.
in reply to: Technical questions / Troubleshooting January 25, 2024 at 11:02#37699After upgrading JDK from 17 to 21 version and pd4ml from 4.0.11 to 4.0.17-jakarta version the PDF export stopped working.
How to prevent this error? Is there any other version compatible with Jakarta?
Next exceptions are thrown:Caused by: java.lang.ClassCastException: class com.pd4ml.css.ab cannot be cast to class com.pd4ml.html.doc.util.m (com.pd4ml.css.ab and com.pd4ml.html.doc.util.m are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @155c1dd7) at com.pd4ml.html.doc.b.õô0000(y:2657) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.elements.r.ÒÓ0000(y:3252) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.elements.r.oo0000(y:2366) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.d.<init>(y:3387) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.i.o00000(y:2738) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.ob.o00000(y:2904) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.ob.o00000(y:2916) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.q.o00000(y:183) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.pb.o00000(y:2892) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.pb.String(y:1746) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.pb.õo0000(y:289) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.jb.new(y:3090) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.jb.o00000(y:1386) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.jb.new(y:81) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.ib.thisnew(y:305) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.ib.Ó00000(y:3582) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.ib.Ò00000(y:3549) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.q.Ó00000(y:2875) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.q.Ò00000(y:2468) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.q.Ó00000(y:2875) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.q.o00000(y:1823) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.html.doc.render.to.n.super(y:1503) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.PD4ML.Object(y:971) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.PD4ML.writePDF(y:72) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.PD4ML.writePDF(y:2445) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.taglib.PD4MLTransformerTag.render(y:2346) ~[pd4ml-4.0.17.jar:?] at com.pd4ml.taglib.PD4MLTransformerTag.doEndTag(y:2781) ~[pd4ml-4.0.17.jar:?]
in reply to: PD4ML – Which licence key should we use February 8, 2024 at 17:57in reply to: PD4ML – Which licence key should we use February 8, 2024 at 18:28#37727The code has already been re-generated. You (or your colleagues) should have been informed of this through the helpdesk notifications.
in reply to: Technical questions / Troubleshooting February 22, 2024 at 11:51#37806LUCEE (cold Fusion) used to use PD4ML as its engine to power the <cfdocument> tag, since version 5.3 they have moved to something called flying saucer which looks terrible.
I would like to install PD4ML onto my Ubuntu VPS and integrate with LUCEE to generate PDFs as before.
A installers manual would be handy showing how to command line install on an Ubuntu server.
Many thanks
Fergus
Attachments:
You must be logged in to view attached files.in reply to: Technical questions / Troubleshooting February 23, 2024 at 17:40#37814We recently purchased Pro license and using Jakarta snapshop jar (since we moved to Jakarta 10). We tried placing the pd4ml.lic file in the lib folder (same level as the pd4ml.jar) and the working dir of the project but still seeing the DEMO MODE ONLY watermark when PDF is generated. There is no constructor in jakarta snapshot jar that takes License string. What am I missing here? Can you please assist? Appreciate your help!
in reply to: Valid License but shows demo watermark February 23, 2024 at 18:27#37815Hi!
> We tried placing the pd4ml.lic file in the lib folder (same level as the pd4ml.jar)It is definitely wrong. PD4ML can find pd4ml.lic in the classpath root (i.e WEB-INF/classes, when pd4ml.jar is in WEB-INF/lib) or in the work dir of the application (whose actual location is not always obvious). It cannot scan lib/ folders.
If the project structure is too complex and various JARs are locaed by different classloaders, sometimes it is the easiest just to pack pd4ml.lic to the root level of pd4ml.jar (using any zip tool)
in reply to: Valid License but shows demo watermark February 26, 2024 at 14:59#37819Appreciate your response. Putting the .lic file in the jar’s root helped.
One additional question: my understanding is org.zefer points to v4 and com.pd4ml to v4 in the Jakarta jar -is that accurate?in reply to: Valid License but shows demo watermark February 27, 2024 at 04:57#37823Please ignore the previous reply – I read the migration notes at https://pd4ml.com/pd4ml-v3-to-v4-migration-guide/ and things are clear to me (regarding wrapper classes in org.zefer pointing to com.pd4ml).
in reply to: HTML and CSS not rendering properly in PDF – PD4MLv4.0.18 March 6, 2024 at 12:15#37892Hi PD4ML Team,
Can anyone please provide input on the above mentioned issues. We are facing major problems and it is very critical for us.
Thanks
in reply to: HTML and CSS not rendering properly in PDF – PD4MLv4.0.18 March 6, 2024 at 12:38#37893Hi! The request has been forwarded to the helpdesk
in reply to: HTML and CSS not rendering properly in PDF – PD4MLv4.0.18 March 7, 2024 at 06:12#37895Hello PD4ML Team,
Thanks for responding. Please let us know once you have updates for same. We have PD4ML DMS License.Thanks
Reflexis/Zebra Technologies.in reply to: Technical questions / Troubleshooting April 3, 2024 at 13:32#38052Hello,
I’m using the PD4ML 4.0.19 demo version for testing purposes.
While Korean characters are displayed correctly in regular HTML text, Korean text that requires bold treatment, such as within <h2> or tags, is not appearing in the generated PDF.
Could you please let me know what might be wrong?
I will attach the resulting PDF and here is my source codeString doc = "<h2 style=\"border:1px solid #000\">ENG</h2>"+ "<h2 style=\"border:1px solid #000\">한글</h2>"+ "그냥 한글 텍스트\n"+ "<p style=\"font-weight: bold;\">bold eng, bold 한글</p>"; ByteArrayInputStream bais = new ByteArrayInputStream(doc.getBytes("UTF-8")); PD4ML pd4ml = new PD4ML(); pd4ml.useTTF("java:fonts", true); pd4ml.enableLigatures(true); pd4ml.setPageSize(PageSize.A4); pd4ml.setPageMargins(new PageMargins(top, right, left, bottom)); pd4ml.readHTML(bais); File pdf = new File("test.pdf"); FileOutputStream fos = new FileOutputStream(pdf); pd4ml.writePDF(fos);
in reply to: Korean font is not being applied April 3, 2024 at 13:34#38053Hello,
I’m using the PD4ML 4.0.19 demo version for testing purposes.
While Korean characters are displayed correctly in regular HTML text, Korean text that requires bold treatment, such as within <h2> or tags, is not appearing in the generated PDF.
Could you please let me know what might be wrong?
I will attach the resulting PDF and here is my source code
String doc = "<h2 style=\"border:1px solid #000\">ENG</h2>"+ "<h2 style=\"border:1px solid #000\">한글</h2>"+ "그냥 한글 텍스트\n"+ "<p style=\"font-weight: bold;\">bold eng, bold 한글</p>"; ByteArrayInputStream bais = new ByteArrayInputStream(doc.getBytes("UTF-8")); PD4ML pd4ml = new PD4ML(); pd4ml.useTTF("java:fonts", true); pd4ml.enableLigatures(true); pd4ml.setPageSize(PageSize.A4); pd4ml.setPageMargins(new PageMargins(top, right, left, bottom)); pd4ml.readHTML(bais); File pdf = new File("test.pdf"); FileOutputStream fos = new FileOutputStream(pdf); pd4ml.writePDF(fos);
Attachments:
You must be logged in to view attached files. -
AuthorPosts