By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,521 Members | 1,252 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,521 IT Pros & Developers. It's quick & easy.

Print without print dialogbox

pankil
P: 2
Hello,
I'm a very beginner in Javascript and sorry if my question sounds stupidly.
I want to print a page without showing the print window and without saving the page as a file. I want the user only to click a button and the page to be printed on the default printer. Is it possible?

And also want to print a page without showing the print window but saving the page as a file. I want the user only to click a button and the page to be printed on the default printer. Is it possible?
Jun 12 '07 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Sorry this is not possible in Javascript and with good reason.

Imagine if it was possible. You visit a website and suddenly the printer starts printing! That's why the print dialog is there for the user to confirm.
Jun 12 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.