Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.8
|
Leadtools.Printer.Client.Installer Namespace > PrinterInstaller Class : SetPrinterConnectionDll Method |
public static void SetPrinterConnectionDll( string printerName, string printerDll, string serverName )
'Declaration Public Shared Sub SetPrinterConnectionDll( _ ByVal printerName As String, _ ByVal printerDll As String, _ ByVal serverName As String _ )
'Usage Dim printerName As String Dim printerDll As String Dim serverName As String PrinterInstaller.SetPrinterConnectionDll(printerName, printerDll, serverName)
public: static void SetPrinterConnectionDll( String^ printerName, String^ printerDll, String^ serverName )
Imports Leadtools.Printer.Client.Installer Private Sub PrinterInstallerExample() Try PrinterInstaller.SetPrinterConnectionDll("Test Printer", "C:\Test Dll.dll", "Test Server") Catch ex As PrinterDriverClientException MessageBox.Show(ex.Message) Catch ex As Exception MessageBox.Show(ex.Message) End Try End Sub
using Leadtools.Printer.Client.Installer; public void PrinterInstallerExample() { try { PrinterInstaller.SetPrinterConnectionDll("Test Printer", "C:\\Test Dll.dll", "Test Server"); } catch (PrinterDriverClientException ex) { MessageBox.Show(ex.Message); } catch (Exception ex) { MessageBox.Show(ex.Message); } }