InstalledPrinters : PrinterSettings « GUI Windows Form « C# / C Sharp






InstalledPrinters

 

using System;
using System.Drawing.Printing;

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

 








Related examples in the same category

1.PrinterSettings.Kind
2.PrinterResolutions
3.PrinterName, IsValid printer