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

Window.print not working in Internet Explorer 7.0 but works in fir

P: n/a
Hello All,

I am trying to offer "Print" functionality using an HTML button with the
help of "window.print()"

This button works fine in Firefox but not in IE7. I am dumping the entire
content of the page which has this HTML button code onto a different page
using document.write. Everything else works fine except for this print
button. I have a close button using "window.close" that works fine but not
this print button. Usually when the print button is clicked, it should
display the "Print" window. For example, see the printer icon to the right of
this post. When you click on the print icon, it will display you the
printable version along with a modal window to send the page to the printer.

Any ideas??

Thanks!!
Mar 28 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Diffident wrote:
Hello All,

I am trying to offer "Print" functionality using an HTML button with the
help of "window.print()"

This button works fine in Firefox but not in IE7. I am dumping the entire
content of the page which has this HTML button code onto a different page
using document.write. Everything else works fine except for this print
button. I have a close button using "window.close" that works fine but not
this print button. Usually when the print button is clicked, it should
display the "Print" window. For example, see the printer icon to the right of
this post. When you click on the print icon, it will display you the
printable version along with a modal window to send the page to the printer.

Any ideas??

Thanks!!
Please do a proper cross post instead of multi posting. Now people that
replies in one newsgroup won't see the replies from other newsgroups.

--
Göran Andersson
_____
http://www.guffa.com
Mar 28 '07 #2

P: n/a
Göran Andersson wrote:
Diffident wrote:
>Hello All,

I am trying to offer "Print" functionality using an HTML button with
the help of "window.print()"

This button works fine in Firefox but not in IE7. I am dumping the
entire content of the page which has this HTML button code onto a
different page using document.write. Everything else works fine except
for this print button. I have a close button using "window.close" that
works fine but not this print button. Usually when the print button is
clicked, it should display the "Print" window. For example, see the
printer icon to the right of this post. When you click on the print
icon, it will display you the printable version along with a modal
window to send the page to the printer.

Any ideas??

Thanks!!

Please do a proper cross post instead of multi posting. Now people that
replies in one newsgroup won't see the replies from other newsgroups.
Correction. What you did was reposting. That's just annoying.

--
Göran Andersson
_____
http://www.guffa.com
Mar 28 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.