B
Billy Zhang
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="document.all.WebBrowser.ExecWB(6,6)" type="button"
value="Print directly">
<input onclick="document.all.WebBrowser.ExecWB(6,2)" type="button"
value="Print directly">
All didn't work.
For example:
http://topic.csdn.net/t/20060509/01/4737530.html
http://blog.chinaunix.net/u1/51862/showart_435050.html
http://msdn.microsoft.com/en-us/library/ms683930.aspx
OLECMDEXECOPT_DONTPROMPTUSER = 2,
How to avoid this prompt window?
Thanks,
-Billy
It always has the prompting user window appear.
I have tried:
<input onclick="document.all.WebBrowser.ExecWB(6,6)" type="button"
value="Print directly">
<input onclick="document.all.WebBrowser.ExecWB(6,2)" type="button"
value="Print directly">
All didn't work.
For example:
http://topic.csdn.net/t/20060509/01/4737530.html
http://blog.chinaunix.net/u1/51862/showart_435050.html
http://msdn.microsoft.com/en-us/library/ms683930.aspx
OLECMDEXECOPT_DONTPROMPTUSER = 2,
How to avoid this prompt window?
Thanks,
-Billy