Let me first explain what I have done, and then what the problem is.
I am currently working in CodeIgniter. I have created the Prince class, and call the class with the following code:
$this->load->library('prince',array('C:\Program Files (x86)\Prince\Prince.exe'));
$this->prince->setLog(getcwd().'\\prince\\logs\\error.log');
$this->prince->addStyleSheet(getcwd().'\\css\\products_css\\dental-ortho.css');
$this->prince->addStyleSheet(getcwd().'\\css\\products_css\\fonts.css');
$this->prince->setHTML(true);
$this->prince->setBaseURL(getcwd().'\\products\\html\\dental-ortho.html');
$this->prince->setEmbedFonts(true);
$this->prince->convert2(getcwd().'\\products\\html\\dental-ortho.html',getcwd().'\\products\\pdf');
The code above runs, but doesnt spit out any errors (that I can see), but does not create a PDF. Any help would be appreciated.
I am currently working in CodeIgniter. I have created the Prince class, and call the class with the following code:
$this->load->library('prince',array('C:\Program Files (x86)\Prince\Prince.exe'));
$this->prince->setLog(getcwd().'\\prince\\logs\\error.log');
$this->prince->addStyleSheet(getcwd().'\\css\\products_css\\dental-ortho.css');
$this->prince->addStyleSheet(getcwd().'\\css\\products_css\\fonts.css');
$this->prince->setHTML(true);
$this->prince->setBaseURL(getcwd().'\\products\\html\\dental-ortho.html');
$this->prince->setEmbedFonts(true);
$this->prince->convert2(getcwd().'\\products\\html\\dental-ortho.html',getcwd().'\\products\\pdf');
The code above runs, but doesnt spit out any errors (that I can see), but does not create a PDF. Any help would be appreciated.