Forum Replies Created
-
AuthorPosts
-
in reply to: RTF Rawitemdata decoded not converted May 10, 2012 at 13:31#28996
Did you give a try to XSL from the recently published dxl2pdf2012.05.zip ?
in reply to: Rendering and HTML to PDF May 3, 2012 at 19:08#28941We’ve just fixed the issue in Java version. A .NET port is coming soon.
in reply to: TIFF Compression May 3, 2012 at 16:24#28989Please request support pd4ml com for a version supports TIFF compression.
in reply to: Not required page break May 1, 2012 at 09:38#28984Probably it is caused by BODY bottom margin, which does not fit the page.
Try to add
BODY { margin-bottom: 0; margin-top: 0 }
to the document styles.With something like
BODY { border: 1 solid tomato }
you could temporarily check where is the bottom content/whitespaces edge of the page.If your input HTML documents are read-only, the styles can be added with pd4ml.addStyle() API call.
in reply to: Anybody had problems with PD4ML on Lion for Mac? April 30, 2012 at 12:22#28951> The pd4ml class will open and show my simple html file when I press GO.
It is a good sign. It means PD4ML works and renders HTML (in the case not to PDF, but to Image output device). I guess it also produces PDF to a TMP directory, but it cannot start a viewer application for some reason.
The problem with Tomcat still has no good explanation. I would recommend to try to configure a progress monitor:
https://pd4ml.com/cookbook/html_pdf_conversion_progress_monitoring.htmIt should help us to determine at which conversion phase it fails.
in reply to: Anybody had problems with PD4ML on Lion for Mac? April 27, 2012 at 15:38#28948The JSP sample is very basic and as I see is absolutely correct. The library set is also complete. So obviously something is wrong with the environment.
If you are absolutely sure there is no error messages and stack traces in both server STDOUT and STDERR logs, please try to run an offline test:
java -Xmx512m -jar pd4ml.jarIt should run PD4ML in GUI mode. Try to open an HTML and to convert it to PDF. Does it work?
in reply to: Spanish charset printing problem April 24, 2012 at 15:53#28978pd4ml.enableDebugInfo(); forces PD4ML to print some diagnostics. Could you please check what is printed to the STDOUT (or to server’s log if it is a web application)?
in reply to: Additional wrong page breaks April 23, 2012 at 19:00#28980Most probably the issue is caused by enableSmartTableBreak() mode clashes with CSS page break control code in your document. Try to disable smart table breaks – does it change anything?
FYI: enableSmartTableBreak(true) applies
TR, TABLE { page-break-inside: avoid }In the mode it implicitly inserts a page break before a table, if it helps to keep the table not broken. It looks like that happens in your case. By default the first page has a bit smaller content area height than the second one, as the first page respects top margin of
<body>tag.in reply to: Zero-width spaces April 23, 2012 at 18:41#28921Sorry for the delay with the reply.
PD4ML supports soft hyphens (), but I am afraid it is not exactly what you need. We’ll try to add and support to the next release.
in reply to: pdf is blank April 23, 2012 at 18:18#28942In order to answer your question we need more input from your side:
1. Do you use PD4ML API or taglib?
2. Does “blank pdf” mean no PDF opened in viewer? Or the document appears as a regular PDF, but page(s) has no content?
3. Code and document samples (HTML/JSP/Java) would help a lot in the issue analyze.in reply to: Spanish charset printing problem April 23, 2012 at 18:12#28976If the spanish characters are not part of ISO-8859-1 you need to use TTF embedding feature of PD4ML Pro.
See: https://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htm
In PD4ML download area you may always find fully functional trial versions of PD4ML Pro: https://pd4ml.com/download.htm
in reply to: Anybody had problems with PD4ML on Lion for Mac? April 23, 2012 at 18:08#28946I’ve just updated JDK on my Mac workstation to the most actual state and tested PD4ML – everything works fine (as before).
Currently Lion comes with no JDK – you need to install it manually. Also Lion does not support 32bit JDK anymore. So I suspect you installed Lion, but JDK remains from your previous installation, which is not compatible with Lion.
The actual JDK can be downloaded from http://connect.apple.com – please give a try.
in reply to: Java VM Hotspot crash April 13, 2012 at 13:03#28939It looks like you’re hitting hotspot compiler bug.
If for some reason an upgrade to the most recent JVM version is not an option for you, as a workaround try to create a .hotspot_compiler file that excludes the call for org.zefer.html.doc.o.o00000
for example:
#.hotspot_compiler file exclude org/zefer/html/doc/o o00000
(the library is obfuscated, so the method signatures look strange)BTW: could you please pubblish “VM Arguments” section contents of the crash report? Didi you overrire the default max heap size value with -Xmx parameter?
in reply to: Discrepancy in the pdf files generated in Unix and windows April 11, 2012 at 18:03#28938Screenshots are not informative enough to determine the problem reason. Could you please send us the HTML source and both PDF version to be analyzed?
in reply to: PD4ML Lotus Domino 8.5.3 Basic Authentification April 2, 2012 at 09:07#28932Glad you found a solution!
And thank you for sharing it with us! -
AuthorPosts
