Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browser print command handling

Status
Not open for further replies.

sreepriyar

Programmer
Jul 22, 2003
1
0
0
CA
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?
 
Not using Java, that will depend on the browser the user has, the configuration, the printers ...

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top