Take the following steps to create and run a program that shows how to set printer client dll.
In the "Solution Explorer" window, right-click on the "References" folder, and select "Add Reference..." from the context menu. In the "Add Reference" dialog box, select the ".NET" tab and browse to Leadtools For .NET "<LEADTOOLS_INSTALLDIR>\Bin\Dotnet\Win32 " folder and select the following DLLs:
Switch to Form1 code view (right-click Form1 in the solution explorer then select View Code ) and add the following line:
Imports Leadtools.Printer.Client.Installer
using Leadtools.Printer.Client.Installer;
To set a demo DLL for a specific printer, add an event handler to the Form1 Load event and add the following code:
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs)
PrinterInstaller.SetPrinterConnectionDll("Printer Name","Path to Demo DLL", "Server name")
End Sub
private void Form1_Load(object sender, System.EventArgs e)
{
PrinterInstaller.SetPrinterConnectionDll("Printer Name","Path to Demo DLL", "Server name");
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET