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");
}
Products |
Support |
Feedback: How to use the LEADTOOLS Network Virtual Printer - Client Installer Application |
Introduction |
Help Version 19.0.2017.6.21
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.