You cannot print a web page using C#.
In ASP.NET your C# code is executed on the server in order to generate HTML which is sent to the browser so that the browser can display the page.
In order to let a user print a page you are going to have to implement something client-side (that runs in the browser).
To do this you should use JavaScript. The JavaScript
print() method.
Another thing to keep in mind is that your website may be using lots of images and colours that a user may not want to be printed (it's a waste of ink etc). You can specify how your web page should look when it is printed using a CSS style sheet that is for
media type: print.
In other words, you can show your web page in full colours and graphics but when the user prints the page it only prints the content and hides the graphics etc.
-Frinny