Forum Replies Created
-
AuthorPosts
-
in reply to: org/w3c/dom/* classes in ss_css2.jar July 13, 2010 at 10:56#28097
ss_css2.jar is a library, developed by CSS Parser open-source project. It is difficult to say if we are legally allowed to remove the classes from the original set.
in reply to: PD4ML multicolumn functionality does not support Arabic RTL July 13, 2010 at 10:46#28089In few days we are going to release a new version, which addresses RTL issues as well. Hopefully it solves the problem you reported. Stay tuned.
in reply to: First page blank when starting with H1 July 8, 2010 at 14:09#28086By default
<h1>does not force a page break.Obviously in the document CSS defined something like
H1 { page-break-before: always }You need to override the setting for the first
<h1>tag.in reply to: TTF not working with Pro version also footer not working July 5, 2010 at 18:11#28083Yes, footers defined via API always allocate specified space, even if for a particular page they must be skip.
You may achieve the needed footer appearance with so-called inline footers, using
<pd4ml:page.footer>tag. See the topic for more details:html-pdf-faq-f1/pdf-page-headers-footers-definition-options-t41.html
in reply to: Caching policy July 1, 2010 at 11:41#27968The local caching can be switched on with the following calls.
Map m = new HashMap(); m.put(PD4Constants.PD4ML_CACHE_IMAGES_IN_TMP_DIR, "true"); pd4ml.setDynamicParams(m);
A version, which supports the feature, is going to be released till 9th of July.in reply to: TTF not working with Pro version also footer not working June 29, 2010 at 10:11#28081pd4ml.useTTF( “java:fonts”, true ); assumes, the fonts and pd4fonts.properties are packed to JAR and the JAR is added to the application CLASSPATH.
Brief info about TTF embedding: pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.html
If you would like to use fonts from jre/lib/fonts, you need to specify the absolute font directory path. For example:
pd4ml.useTTF( "/usr/lib/jvm/java-1.5.0-sun/jre/lib/fonts", true );in reply to: Connection timed out … June 22, 2010 at 11:49#28071It does not seem so.
Actually it tries to load via SSL/HTTPS. Is the protocol (and the corresponding port) enabled on the server?
Also even if everything is on the same server, the server may have a number of DNS names. And some of them are external (not known in the intranet). So try to enable debug on (pd4ml.enableDebugInfo()) and check in server’s log what exactly it tries to connect.
in reply to: Connection timed out … June 22, 2010 at 11:24#28069It is not necessarily a problem with a proxy. Another possible problem is an invalid routing from one server to another.
Make sure the server where PD4ML is located is able to ping/traceroute the server where HTML source is.
in reply to: uncorrect size for image June 21, 2010 at 19:49#27819PD4ML never applies any kind of resampling to images. It embeds them to PDF, keeping original pixels untouched.
Here is some info an a possible workaround:
pdf-generation-troubleshooting-f4/prevent-images-being-scaled-t38.htmlin reply to: Adobe Reader Version Problem June 21, 2010 at 09:04#28065Dinesh, PD4ML outputs PDFs, which are only compatible with Acroread 5 and newer.
in reply to: Can pd4ml follow HTML links and merge it to one pdf? June 18, 2010 at 19:56#27870For the time being the feature is not supported.
However PD4ML implements a proprietary tag, which could help to achieve the needed result.
Currently the tag is undocumented and we use it only in DXL->PDF conversion scenarios. I am afraid the tag has some limitations – I need to check.
But the idea is as follows: you may add a sequence of tags at the end of the main document:
The tags will be ignored by the browsers, but PD4ML will include the referenced documents. Of course, in forthcomming versions, we could automate the process and to implicitly build the list from tags.
in reply to: pdf to png June 18, 2010 at 19:56#27874PD4ML does not support headers and footers output.
As a workaround, try to print logo.gif to the graphics device of the buffered image object after PD4ML printed the main content of the document there.
in reply to: how to set logo in Pdf First page only June 18, 2010 at 19:55#28035The info should help:
html-pdf-faq-f1/is-it-possible-to-set-header-footer-scope-via-the-api-t176.html
in reply to: CSS Styles aren’t applied, can someone help me? June 16, 2010 at 15:19#28064Try to switch PD4ML into debug mode with pd4ml.enableDebugInfo() and inspect STDOUT/server’s log which URL it actually tries to load.
If in your HTML document references are defined as /path/to/stylesheet.css and in the debug output they appear prefixed with file:, pd4ml.useServletContext() call should help.
But it is a better idea to reference CSS stylesheets with relative paths (like ../mycss/stylesheet.css).
in reply to: Tiff Image Loader causing problems running a Lotus Notes age June 15, 2010 at 13:53#28056Currently we work on a PD4ML version, which is able to cache resources in /tmp directory, which should help to reduce memory utilization. Please contact support pd4ml com if you are interested to give a try to a development build.
-
AuthorPosts
