Pring file content to console

Hi all!

I tried to convert PDF document to html. But when I call method .save(…) it work very slowly and I see that all content from file was printed to application console.
Test source code:

File oldFile = new File(“E:\Projects\xFiles\4_page.pdf”);
File tempDir = new File(“E:\Projects\xFiles\temp”);
Document document = new Document(new FileInputStream(oldFile));
HtmlSaveOptions saveOptions = new HtmlSaveOptions();
document.save(tempDir.getAbsolutePath() + “/test_out.html”, saveOptions);

Could you please say how I can disable file content printing?
Thanks a lot.

Hi there,


Thanks for your inquiry. I am afraid we are unable to notice console output while testing the scenario with Aspose.Pdf for Java 4.6.0. Please download and try latest version of Aspose.Pdf for Java, it will fix the issue.

Please feel free to contact us for any further assistance.

Best Regards,