Yes, I need something like the javax.print API. but the API should support printing pdf files basically and any other report generation formats. Any third party API is also fine.
Joined: Mar 22, 2005
The Java printing API is just a way to access print drivers programmatically. If the printer doesn't understand a format, there's nothing Java can do about that. Printers understand text files, and laser printers generally understand PostScript. For just about anything else (HTML, RTF, PDF, DOC etc.) you need to run the file through a rendering process that generates something the printer can understand.