System.Drawing.Printing.InvalidPrinterException Class

Represents the exception that is thrown when you try to access a printer using printer settings that are not valid.

See Also: InvalidPrinterException Members

Syntax

public class InvalidPrinterException : SystemException

Remarks

The most common cause of printer settings that are not valid is referencing a printer that does not exist.

For more information about printing, see the System.Drawing.Printing namespace overview.

Requirements

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