HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › pdf is blank › Re: Re: pdf is blank
April 25, 2012 at 10:43
#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.