Hi,
I'm using the java wrapper to create a PDF
prince.convert("/filepath/file.html); works and generates a pdf in the same folder, however when I use an OutputStream it stays empty.
This is my implementation
OutputStream os_file = new FileOutputStream("test.pdf");
Prince prince = new Prince("/usr/local/bin/prince");
prince.setVerbose(true);
prince.setDebug(true);
prince.convert("/filepath/file.html", os_file);
Any idea what i'm doing wrong?
I'm using the java wrapper to create a PDF
prince.convert("/filepath/file.html); works and generates a pdf in the same folder, however when I use an OutputStream it stays empty.
This is my implementation
OutputStream os_file = new FileOutputStream("test.pdf");
Prince prince = new Prince("/usr/local/bin/prince");
prince.setVerbose(true);
prince.setDebug(true);
prince.convert("/filepath/file.html", os_file);
Any idea what i'm doing wrong?