How to print OpenDocument Text using OdfToolkit?

1.2k Views Asked by At

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

1

There are 1 best solutions below

0
On BEST ANSWER

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