GeeCON Prague 2014*
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


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.
 
wood burning stoves
 
subject: How to print different type of document types in java ?