I've got a program I'm writing that
A. runs as a service
B. grabs a screenshot of a specific window every X number of seconds
C. prints it to the default printer.

A and B are more or less done.
C is confusing me.

I'm looking for a way to print without the PrintDialog coming up. If you can help, that'd be swell.

As best I can tell, my options are:
1. P/Invoke it with Win32 calls. Eh, sure, I guess.
2. Intercept the PrintDialog Eh, no.
3. Printing in an embeddable browser. Not the minimal overhead I was looking for.
4. doc.PrintController = new StandardPrintController(); //I have no idea if that actually works. I'm about to test it.

6 Years
Discussion Span
Last Post by DeanMSands3
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.