sreepriyar
Programmer
I have the following requirement. I use a servlet to generate a PDF report. So I set the responseType in the servlet to be 'application/pdf'.
This displays the PDF file in the browser.
If the User chooses to printthe PDF by choosing the File /Print or PDf's print option, then I should be able to bypass the Popup which usually allows user to select a printer) and print the information by choosing the printer.
Is there a way to achieve this?
This displays the PDF file in the browser.
If the User chooses to printthe PDF by choosing the File /Print or PDf's print option, then I should be able to bypass the Popup which usually allows user to select a printer) and print the information by choosing the printer.
Is there a way to achieve this?