13 September 2012

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.





No comments: