This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I am facing critical issue in one of my application. I am having a Java �Web Application� with a link/button called �Batch Print�. On click of the button, I want to export some documents to a temporary location on client machine and then I want to �Print� all these documents using �Java APIs�. We are having reusable component for exporting files, but the problem lies when it comes to printing.
I have also tried to evaluate the �Print� functionality which appears in the context menu. i.e. When we right click the file in �Windows Explorer� and click �Print�. But didn�t find any useful information.
You could write an Applet that does this. It would need to be a signed Applet since it would need access to folders outside the normal sandbox. If a signed Applet is an acceptable solution, you can just use the Java Print Service API to batch print.