System.Drawing.Printing.PrinterSettings.PrinterName Property

Gets or sets the name of the printer to use.

Syntax

public string PrinterName { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

After setting the printer name, call PrinterSettings.IsValid to determine if the printer name is recognized as a valid printer on the system.

You can also use the PrinterSettings.InstalledPrinters property to get a list of printers installed on the system.

Requirements

Namespace: System.Drawing.Printing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0