• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Printing via javascript in IE

Xede

Senior member
I need to be able to print via Javascript (not using File/Print) in IE. I know there's a simple way to do it (I've used it before), but I don't have that snippet anywhere handy. Anybody know how?
 
<INPUT TYPE=&quot;button&quot; VALUE=&quot;Print&quot; onclick=&quot;WebBrowser1.ExecWB(6,1)&quot;>
<OBJECT ID=&quot;WebBrowser1&quot; WIDTH=0 HEIGHT=0 CLASSID=&quot;CLSID:8856F961-340A-11D0-A96B-00C04FD705A2&quot;>

This only works with IE
 
Back
Top