Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Other JSE/JEE APIs and the fly likes How to print different type of document types in java ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to print different type of document types in java ?" Watch "How to print different type of document types in java ?" New topic
Author

How to print different type of document types in java ?

v venkat
Greenhorn

Joined: Jul 22, 2008
Posts: 7
Hi , I am trying to print different type of documents in java, types can be pdf , word, gif, excel, rtf, ....

I am trying to use apache poi to extract word document and then want to print using the extract ... since the DocPrintJob type expects a DOC type as input, how do we convert word extract into DOC type required by DocPrintJob.

my objective is to able to send word document to printer .... i tried javax printer and it does not work ...

please suggest.

Sur
v venkat
Greenhorn

Joined: Jul 22, 2008
Posts: 7
i came to know that apache poi can only be used to extract doc type but cant be used for printing, any other suggestions as how we can send word / excel document to printer from java program.
 
Don't get me started about those stupid light bulbs.
 
subject: How to print different type of document types in java ?
 
Similar Threads
Printing Postscript to PDF
java printing - printing a pdf
Java Priniting API
Javax.print .API Please help
Printing to Wireless printer.