Click here to Skip to main content
15,913,115 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have PDF that is displayed in a browser and to print it using a link i use the printWithDialog function. The problem is that the print dialog by default has the Print Range set to Pages : 1. The user has to click on the "All Pages" option everytime.
If i click on the print toolbar button then the print dialog uses the "All Pages" option. But if i use the printWithDialog function to launch the dialog, then its a problem.

Can we programmatically set the "All Pages" option when launching the print dialog?

-Amul.
Posted

1 solution

No, you have literally no control when printing with javascript.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900