my requirement is to directly print either pdf or ms doc file through java web application. client don't even want to know where the file is saved. On click of print button,a file is created and it is saved somewhere. After the creation,i want the file to automaticaaly go to printer.
i have tried :
- javax.print for pdf. Here printer is throwing error.
- javascript (window.print) for pdf. Here print dialog box is not coming on the opened pdf document.
- javascript ({bUI: false, bSilent: true, bShrinkToFit: true}). But with this the problem is that document needs to be opened before page actually goes to the printer.
its urgent........