I have a asp.net page, it uses js to print in IE.
It always has the prompting user window appear.
I have tried:
<input onclick="docume nt.all.WebBrows er.ExecWB(6,6)" type="button"
value="Print directly">
<input onclick="docume nt.all.WebBrows er.ExecWB(6,2)" type="button"
value="Print directly">
All didn't work.
For example:
OLECMDEXECOPT_D ONTPROMPTUSER = 2,
How to avoid this prompt window?
Thanks,
-Billy
It always has the prompting user window appear.
I have tried:
<input onclick="docume nt.all.WebBrows er.ExecWB(6,6)" type="button"
value="Print directly">
<input onclick="docume nt.all.WebBrows er.ExecWB(6,2)" type="button"
value="Print directly">
All didn't work.
For example:
OLECMDEXECOPT_D ONTPROMPTUSER = 2,
How to avoid this prompt window?
Thanks,
-Billy
Comment