How to Schedule a WebForm to Print?

  • Thread starter Thread starter petemo94
  • Start date Start date
P

petemo94

Folks,

I've been tasked to develop a way to have our webform be
automatically scheduled (e.g. once a day at 8PM) and printed to a local
printer without any user interaction besides setting up the time/day.
The original webform was developed in C# but now I need to extend this
to incorporate a:

1) Scheduler to allow users to select time/day/freq of activation
2) Select ability to either send information to printer or file.

Any help on how to get this started would be greatly appreciated.
I'm overwhelmed by the amount of information and need to narrow my
search down to very specific topics. Thanx in advance!
PM
 
Scheduling and printing are both client side activities.

Think about setting up a scheduled job using a local app with the webbrowser
control in it, and work out how to invoke and work with IE objects, or look
at an alternative like Samie.

WebBrowser control is documented on MSDN at
http://msdn.microsoft.com/workshop/browser/prog_browser_node_entry.asp
Internet Explorer is at
http://msdn.microsoft.com/workshop/browser/webbrowser/reference/objects/internetexplorer.asp

Samie - http://samie.sourceforge.net/

You could of course use a client side script runner (usually used for
testing) to track your actions in IE and copy them, then you could schedule
it like a test.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
Back
Top