Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26243

    Hello,

    We are evaluating your component and would like to ask several question.

    *Is it possible to change PDF Producer and Application fields in PDF while converting web page to PDF using your library?

    *The quality of web page rendering could be better, about 70% web pages look different than original. Some of them unreadable, try this http://www.download.com
    How often do you release new versions with rendering engine improvements?

    regards,
    Jon

    #27442

    > Is it possible to change PDF Producer and Application fields in PDF while converting web page to PDF using your library

    You may override the values with “pd4ml.creator.application” and “pd4ml.producer.application” environment variables. For example with JVM command line parameter:

    -Dpd4ml.creator.application=MyApplication

    We would appreciate if you keep at least one of the fields in the resulting PDF documents with the default PD4ML value.

    > about 70% web pages look different than original

    It may sound strange, but PD4ML is not intended for web sites conversion. Modern web sites are full of dynamic content, built with Javascript, XSL, DOM etc. There is no way to support everything in Java application without a significant loss of performance.

    PD4ML implements its own HTML rendering engine, optimized for PDF output. It allows you to define PDF templates and make your applications PDF-enabled with ease using a simple markup language everybody knows – HTML.

    If you need to get perfect HTML-to-PDF web site conversion I would recommend you to use one of virtual print drivers, which capture print output and convert it to PDF on the fly. Or to use some HTML-to-PDF coverters, built on Mozilla or MS IE HTML rendering components. The soutions are good for single user usage. But if you need to create a web application with PDF output functionality, a solution based on the native HTML renderer (Mozilla or MS IE) is absolutely unacceptable: any failure in the native DLL crashes the JVM and application server. Here is the major advantage of PD4ML – it is 100% Java and any exception in it is harmless for the virtual machine itself.

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.