PrinterDriverException Class

Summary
The exception that is thrown when a printing error occurs.
Syntax
C#
VB
C++
[SerializableAttribute()] 
public class PrinterDriverException : LeadtoolsException 
  
<SerializableAttribute()> 
Public Class PrinterDriverException  
   Inherits LeadtoolsException 
   Implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable  
[SerializableAttribute()] 
public ref class PrinterDriverException : public LeadtoolsException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable   
Remarks

The PrinterDriverException class defines a Code property that you can examine to determine what caused the error.

Default messages are implemented for each Code, you can however modify any message through the GetCodeMessage and SetCodeMessage methods.

Example

For an example, refer to Printer.Install example.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Printer Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.