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 Printer name and Select Default Printer in C#.Net



o   Create Project in the VS 2008.
o   Go To View Code.
o   Drop and Drop listBox control into Design View.
o   Put below Code in the Code Section.
o   Press “F5”.
o   See Result.




Get Count of Print Queues 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   Put below Code in the Code Section.
o   Press “F5”.
o   See Result.