Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to print different type of document types in java ?

 
v venkat
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!