Display all installed printer name : Printer : Development C# Examples


C# Examples » Development » Printer »

 

Display all installed printer name









    
using  System;
using  System.Drawing.Printing;

class  MainClass
{
        static  void  Main(string[]  args)
        {
                foreach  (string  printerName  in  PrinterSettings.InstalledPrinters)
                {
                        Console.WriteLine("Printer:  {0}",  printerName);
                }
        }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Development
» Printer