Printing in JAVA
1 posts in topic
Flat View  Flat View

Posted By:   ashok_ayengar
Posted On:   Wednesday, July 17, 2002 08:11 AM

I want ot print different types of documents through Java for example PDF,WORD,RTF,PS etc....
I want to use the Java Printing API to print these documents. The Printing API works fine for TXT files but it prints junk chars for all diff formats...When I set the Doc Flavor to DocFlavor.INPUT_STREAM.PDF for PDF document it gives an error
sun.print.PrintJobFlavorException: invalid flavor

How do I print the Document Properly through Java...is it possible through java ??

is thr any free software which takes care of this problem....

thanx in anticipation

Re: Printing in JAVA

Posted By:   han_jian  
Posted On:   Thursday, July 18, 2002 03:38 AM

I'm using a software called Sitraka. It might help u in printing. But, it's not free.

However, u can go to www.sourceforge.net, get a open-source project called i-Text. It can help u
About | Sitemap | Contact