public static class PrinterInstaller
using Leadtools.Printer.Client.Installer;
public void PrinterInstallerExample()
{
try
{
PrinterInstaller.SetPrinterConnectionDll("Test Printer", "C:\\Test Dll.dll", "Test Server");
}
catch (PrinterDriverClientException ex)
{
Console.WriteLine(ex.Message);
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
}