h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

Get Total Pages and Printer Name in C#.Net:



o   Create Project in the VS 2008.
o   Go To View Code.
o   Drop and Drop Two TextBoxs control into Design View.
o   Drop and Drop One Button control into Design View.
o   Add “System.Management” using  Add Reference
o   Put below Code in the Code Section.
o   Press “F5”.
o   See Result.