__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
If you can render the file into a Java window, then you can also print it. see http://java.sun.com/docs/books/tutorial/2d/printing/
So this come down to asking "what file types can you display on Java?" PDFs can be displayed using Adobe's own free Java pdfviewer. For MS word docs you'll need to search for the code - I'm sure it exists.
JamesCherrill
Posting Genius
6,371 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073