Hi there,
We are considering buying a prince server licence, however, basic local testing has failed so far. I've installed prince on Windows Vista and tried creating a very simple pdf using lots of variations of the following php code:
$prince = new Prince('C:\\Program Files\\Prince\\Engine\\bin\\prince.exe');
$msgs = array();
$result = $prince->convert_string_to_file('<h1>Test</h1>', 'C:\\Users\\aimfeld\\Temp\\test.pdf', $msgs);
Using a debugger, I've found $result to turn out false and $msgs to remain empty. When I call prince from the command line and pass a html file with the content "<h1>Test</h1>", a pdf file is generated just fine.
Any ideas what could be wrong here?
I appreciate any help.
Cheers, Adrian
We are considering buying a prince server licence, however, basic local testing has failed so far. I've installed prince on Windows Vista and tried creating a very simple pdf using lots of variations of the following php code:
$prince = new Prince('C:\\Program Files\\Prince\\Engine\\bin\\prince.exe');
$msgs = array();
$result = $prince->convert_string_to_file('<h1>Test</h1>', 'C:\\Users\\aimfeld\\Temp\\test.pdf', $msgs);
Using a debugger, I've found $result to turn out false and $msgs to remain empty. When I call prince from the command line and pass a html file with the content "<h1>Test</h1>", a pdf file is generated just fine.
Any ideas what could be wrong here?
I appreciate any help.
Cheers, Adrian