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?

4 of 5 people (80%) answered Yes
Recently 4 of 5 people (80%) answered Yes

Entry

when I use window.print(), I get confirm popup window of print . How to avoid that?

Apr 8th, 2008 19:24
ha mo, Dave Clark, Sagar Kaps,


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sagar,
     It is likely that you can't avoid that prompt when using Internet 
JavaScript.  The reason has to do with security.  Sorry.  Otherwise, 
some numbskull could maliciously exhaust all of the paper and/or ink
(toner) in the user's printer just by repeatedly printing the current 
document.
Take care,
Dave Clark
www.DaveClarkConsulting.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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