Close
jGuru Forums
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 exception... 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 ashok
Re: Printing in JAVA
Posted By: han_jian Posted On: Thursday, July 18, 2002 03:38 AM