Printing multiple file types using java

Hey, I was wondering if there is any specific api for printing many common file types (pdf, doc, docx, txt, etc.). I am trying to develop a program similar to HP spring. eprint annoys me because it prints a letter, as well as a file attached to it. I just want me to be able to send files directly. I found that java has api printing, but that seems to focus on printing something from the gui window. Any ideas are greatly appreciated!

thanks

Morpheous

0
source share
1 answer

It would be difficult for only one Java to print many different types of files, and most of the time when I saw that Java programs use other programs to print using Runtime.exec. If you try to use this, please be sure to read this extremely important article: When Runtime.exec () will not

+3
source

All Articles