$prince = new Prince('/usr/lib/prince/bin');
$prince->addStyleSheet("/usr/lib/prince/style/fonts-new.css");
$prince->setLog("/home/eliteima/elite/logs/prince.log.txt");
$prince->convert2($htmlFile, $outputPDF);
$htmlFile and $outputPDF are valid files.
The PDF file is not created, and nothing is being written to prince.log.txt.
Why would it not write anything to the log file?
Doing this from the console,
/usr/lib/prince/bin/prince 1.html --debug --style=/usr/lib/prince/style/fonts-new.css --output=1.pdf
and this works fine, and creates the PDF file.
Thanks
$prince->addStyleSheet("/usr/lib/prince/style/fonts-new.css");
$prince->setLog("/home/eliteima/elite/logs/prince.log.txt");
$prince->convert2($htmlFile, $outputPDF);
$htmlFile and $outputPDF are valid files.
The PDF file is not created, and nothing is being written to prince.log.txt.
Why would it not write anything to the log file?
Doing this from the console,
/usr/lib/prince/bin/prince 1.html --debug --style=/usr/lib/prince/style/fonts-new.css --output=1.pdf
and this works fine, and creates the PDF file.
Thanks