File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 41184
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 - my free Android networking tools app
I agree. Here's the link:
subject: Print MS Office Documents using Java API
Similar Threads
Converting a Word Document or PPT into ThumbNail Images.
Excel document created using HSSF POI API not opening in Windows7 but opening in Win XP
Print MS Office documents using unix commands
How to convert PDF to XLS
how to print a word document in java?