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”;


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.