Hi,
I'm using the following to execute prince from Java:
The linux prince script however is never executed. The java code is used in a servlet (on a tomcat app. server where princexml is installed).
Am I missing something?
Kind regards,
Michiel
I'm using the following to execute prince from Java:
OutputStream os_file = new FileOutputStream("test.pdf");
Prince p = new Prince("/usr/local/bin/prince");
p.setVerbose(true);
p.setDebug(true);
p.setEmbedFonts(false);
boolean b = p.convert("in.html", os_file);
The linux prince script however is never executed. The java code is used in a servlet (on a tomcat app. server where princexml is installed).
Am I missing something?
Kind regards,
Michiel