Forum Replies Created

Viewing 15 posts - 1,126 through 1,140 (of 1,410 total)
  • Author
    Posts
  • in reply to: org/w3c/dom/* classes in ss_css2.jar
    #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.

    #28089

    In 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
    #28086

    By 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.

    #28083

    Yes, 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
    #27968

    The 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
    #28081

    pd4ml.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 …
    #28071

    It 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 …
    #28069

    It 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
    #27819

    PD4ML 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.html

    in reply to: Adobe Reader Version Problem
    #28065

    Dinesh, 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?
    #27870

    For 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
    #27874

    PD4ML 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
    in reply to: CSS Styles aren’t applied, can someone help me?
    #28064

    Try 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).

    #28056

    Currently 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.

Viewing 15 posts - 1,126 through 1,140 (of 1,410 total)