I have seen examples of printing from a windows application but I have not been able to find a good example of any way of doing this.
-
What do you mean print screens ? If you want to print the page, asp.net or not, it's up to the browser to do that. – thomasb Sep 17 '08 at 12:40
4 Answers
I've used the print style sheet
here's and article http://alistapart.com/stories/goingtoprint/ that will go through the way to set that up. Rather than setting up a special page that would need to be maintained as well.

- 1,062
- 1
- 12
- 19
If you just need to print your web page from the client-side use window.print()
. Sample could be found here: http://www.javascriptkit.com/howto/newtech2.shtml. I would suggest preparing a special version of your page first with no dynamic content and with a layout which would look nice on print.
If you need to send something to printer on the server-side that would be a little bit more complicated. Check out this MSDN article on how to do the basic printing.

- 17,988
- 6
- 44
- 60
The browser prints your pages. If you need to tweak the page so it looks better on the printer, use CSS @media selectors.

- 399,467
- 113
- 570
- 794
Restating what others have said, you just need to call window.print() in javascript. That and build a separate css for print.

- 893
- 6
- 12