LEADTOOLS Virtual Printer (Leadtools.Printer assembly)
LEAD Technologies, Inc

UnInstall Method






Printer information that was used when installing the printer to the system.
Uninstalls the printer from the system.
Syntax
public static void UnInstall( 
   PrinterInfo printerInfo
)
'Declaration
 
Public Shared Sub UnInstall( _
   ByVal printerInfo As PrinterInfo _
) 
'Usage
 
Dim printerInfo As PrinterInfo
 
Printer.UnInstall(printerInfo)
public static void UnInstall( 
   PrinterInfo printerInfo
)
 function Leadtools.Printer.Printer.UnInstall( 
   printerInfo 
)
public:
static void UnInstall( 
   PrinterInfo^ printerInfo
) 

Parameters

printerInfo
Printer information that was used when installing the printer to the system.
Remarks

Fill the Leadtools.Printer.PrinterInfo.MonitorName, Leadtools.Printer.PrinterInfo.PortName, and Leadtools.Printer.PrinterInfo.DriverName properties with valid data.

Notice that this method removes all printers that were using the driver name specified in the PrinterInfo.DriverName property.

To install a printer to the system, use the Install method.

Example
Refer to Install example.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Printer Class
Printer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Printer requires a Printer module license and unlock key. It is included as part of LEADTOOLS Document Imaging Enterprise. For more information, refer to: Imaging Pro/Document/Medical Features