Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Print MS Office Documents using Java API

 
Latha Sree
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic