nevets2001uk
IS-IT--Management
I'm not sure if this is possible in ASP.NET but I have a page that displays a printable report of some data.
Currently I have a link to this page, which opens in a new window and the user must manually print the page and close the window.
Is there a way to automate this in .NET. On page_load I'd like to automatically print the page to the default printer (preferably without user intervention) and then automatically close the window. I have read about the .PRINT method but cannot figure out how it can be used to print a page.
If any part of the above can be achieved I'd be very happy!
Steve G (MCP)
Currently I have a link to this page, which opens in a new window and the user must manually print the page and close the window.
Is there a way to automate this in .NET. On page_load I'd like to automatically print the page to the default printer (preferably without user intervention) and then automatically close the window. I have read about the .PRINT method but cannot figure out how it can be used to print a page.
If any part of the above can be achieved I'd be very happy!
Steve G (MCP)