Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Asp.Net Programming

Question about window.print()


Hello All,

I am dumping the HTML content of a page using document.write. As part of
this HTML code, I have an input "Print" button which does nothing but calling
the window.print

Window.print is working in the firefox browser by displaying the printer
window where user all he has to do is click on "Print" However, when I click
on the print button from Internet Explorer 7.0 nothing happens. It does not
get me the printer window.

What do you folks think is the problem? Do I need to modify any security
settings in IE7.0?

Thanks a lot!!

On May 30, 11:28 pm, Diffident <Diffid@discussions.microsoft.com>
wrote:

> Hello All,

> I am dumping the HTML content of a page using document.write. As part of
> this HTML code, I have an input "Print" button which does nothing but calling
> the window.print

> Window.print is working in the firefox browser by displaying the printer
> window where user all he has to do is click on "Print" However, when I click
> on the print button from Internet Explorer 7.0 nothing happens. It does not
> get me the printer window.

> What do you folks think is the problem? Do I need to modify any security
> settings in IE7.0?

> Thanks a lot!!

I think you have a problem in the code. window.print() should work in
IE

Just try it

<a href="javascript:window.print()">Print</a>

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc