I have a number of documents which have up to 30 iframes in them. I use the following function to print all of them via one button:
<script type="text/javascript">function printFrames(){if (confirm("[Alert]"
) for (var i = 0; i < top.frames.length; i++) {top.frames.focus();printIt();}}function printIt(){var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';document.body.insertAdjacentHTML('beforeEnd', WebBrowser); WebBrowser1.ExecWB(6, -1); WebBrowser1.outerHTML = "";}</script>
The OBJECT ID switches off the print dialog box in IE, to save the user from having to OK each document.
My problem is that Adobe Acrobat documents do not print. Even if I click on a frame with an acrobat doc in it to focus on it - and then use the browser print button - I get nothing.
Any ideas?
<script type="text/javascript">function printFrames(){if (confirm("[Alert]"
The OBJECT ID switches off the print dialog box in IE, to save the user from having to OK each document.
My problem is that Adobe Acrobat documents do not print. Even if I click on a frame with an acrobat doc in it to focus on it - and then use the browser print button - I get nothing.
Any ideas?