aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Print MS Office Documents using Java API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Print MS Office Documents using Java API" Watch "Print MS Office Documents using Java API" New topic

Print MS Office Documents using Java API

Latha Sree

Joined: Apr 07, 2009
Posts: 17
Hi Friends,

Can anyone please tell me how to print MS Office documents(doc,docx,xls..) using JAVA API..

I tried with Java Print Service API, DocPrintJob..Please suggest me with alternative solution.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39578
The easiest way might be to run OpenOffice in server mode, and use its Java API (UNO) to achieve this. I don't think there's any other open source component that can interpret and print random Office documents.

Ping & DNS - updated with new look and Ping home screen widget
It is sorta covered in the JavaRanch Style Guide.
subject: Print MS Office Documents using Java API
Similar Threads
Print MS Office documents using unix commands
Converting a Word Document or PPT into ThumbNail Images.
How to convert PDF to XLS
Excel document created using HSSF POI API not opening in Windows7 but opening in Win XP
how to print a word document in java?