This documentation is archived and is not being maintained.

InvalidPrinterException Class

Represents the exception that is thrown when trying to access a printer using invalid printer settings.

For a list of all members of this type, see InvalidPrinterException Members.


[Visual Basic]
Public Class InvalidPrinterException
   Inherits SystemException
public class InvalidPrinterException : SystemException
public __gc class InvalidPrinterException : public SystemException
public class InvalidPrinterException extends SystemException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


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

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


Namespace: System.Drawing.Printing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Drawing (in System.Drawing.dll)

See Also

InvalidPrinterException Members | System.Drawing.Printing Namespace