Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26711

    pdf is blank when trying to generate a html file in the same server/domain but when try to upload the html in other domain and use that for the html parameter it works.

    any idea with this one?

    #28942

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

    #28943

    hi,

    thanks for the reply I am using the following php code below

    $var = “java_path -Xmx512m -Djava.awt.headless=true -cp jar_path Pd4Cmd html_path 800 A4”;

    passthru($var);

    the pdf is created but when we try to open it, there is no content just a blank/white space.

    this happen when we try to generate a pdf from the html in our domain where the pd4ml files is also hosted, but if I try to change the html using from other domain it works.

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

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