Q:

Print Page functionality in MVC

Anyone done this in MVC? any info would be great!.
Thanks.

A:

You can get pretty far simply by including a print.css file for media type print.
Hide everything you don't want and include logical page breaks and demensions (inches, etc... actually format more correctly using the print.css override).
I have used a custom controller (or filter) to handle links using something like index.print instead of index.html, which simply overrides the master layout with a layout more suitable for printing, but I still feel that the alternate stylesheet is the best way to go.
http://www.alistapart.com/articles/goingtoprint/

A:

Printing a page isn't really a matter for ASP .NET or MVC.  Printing is a client-side operation, and therefore can (and should) be done entirely in client-side code.  JavaScript has a method call for this:
window.print()

