View Full Version : print a word document with hiden print dialoge box

07-22-2005, 05:29 PM
using this code it can print with disabling the print dialoge
so when pess a button it print the page direct but i need
the same with change that when i press a button to print
a word document pcall p.s print.doc not to print the viewed

this code can print the view display can be modefyed to
make to print a word document

this code that writen by requestcode
<title>Print Test</title>
function Print()
if (document.all)
WebBrowser1.ExecWB(6, 6) //use 6, 1 to prompt the print dialog or 6, 6 to omit it;
WebBrowser1.outerHTML = "";
<object ID="WebBrowser1" WIDTH="0" HEIGHT="0"
<A HREF="#" onClick="Print()">Print this page</a>

07-23-2005, 11:03 PM
up up up up up up up up up up up up

is there any one have any idea

:eek: :eek: :eek: :eek: :eek: :mad: :mad:

07-24-2005, 01:34 AM
'eck :eek:

This is more of a JS question....get a mod to move it there ;)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum