Installs the LEADTOOLS Network Virtual Printer Driver to the client system.
#include "ltPrinterClientInstall.h"
L_LTPRINTERCLIENTINSTALLER_API L_INT EXT_FUNCTION L_PrnClntSetPrinterConnectionDll(pszPrinterName, pszPrinterDll, pszServer)
Character string that contains the name of the printer.
Character string that contains the path to the printer connection DLL.
Character string that contains the name of the printer server.
| Value | Meaning |
|---|---|
| SUCCESS | The function was successful. |
| < 1 | An error occurred. Refer to Return Codes. |
This function must be executed on the client machine, in order to install a printer demo DLL to the printer. Also, this function adds the printer to the client system.
Win32, x64.
L_INT SetPrinterConnectionDllExample(){L_INT nRet = L_PrnClntSetPrinterConnectionDll(TEXT("TEST PRINTER"), TEXT("c:\\TEST DLL.dll"), TEXT("TEST SERVER"));return nRet;}