faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

51 of 76 people (67%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

How to print a page without print dialogue box

Apr 5th, 2008 20:08
ha mo, jsWalter, meng xianhui, Colin Fraser, yucheng wang,


You can do it in ONLY IE5.5+ like this:
<object ID='WebBrowser1' WIDTH=0 HEIGHT=0 CLASSID='CLSID:8856F961-340A-
11D0-A96B-00C04FD705A2'></object>
<input onclick="WebBrowser1.ExecWB(6,1)" value=print type=button>
=================
I give a complete method to accomplish this, and more...
     http://www.faqts.com/knowledge_base/view.phtml/aid/9169
jsWalter
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com