Can I print a ODF text document using OdfToolkit? Or is there a open source lib that provide this usability? I can't find any. Target machine must not have installed Open/Libre Office.

Alternatively how to print files using installed Open/Libre Office binaries?

I want to control printer properties like two side printing and of course target printer.

Regards

有帮助吗?

解决方案

OdfToolkit provides document manipulation functionality. Rendering or printing is not covered. You should use UNO for printing. Take a look at http://wiki.openoffice.org/wiki/API/Samples/Java/Office/DocumentHandling

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top