#include "ltPrinterClientInstall.h"
L_LTPRINTERCLIENT_AP L_INT EXT_FUNCTION L_PrnClntSetPrinterConnectionDll(pszPrinterName, pszPrinterDll, pszServer)
L_TCHAR * pszPrinterName; |
printer's name |
L_TCHAR * pszPrinterDll; |
printer DLL path |
L_TCHAR * pszServer; |
server name |
Installs the LEADTOOLS Network Virtual Printer Driver to the client system.
Parameter |
Description |
pszPrinterName |
Character string that contains the name of the printer. |
pszPrinterDll |
Character string that contains the path to the printer connection DLL. |
pszServer |
Character string that contains the name of the printer server. |
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.
Required DLLs and Libraries
LTPRINTERCLIENTINSTALLER |
Win32, x64.
Functions: |
|
Topics: |
L_INT SetPrinterConnectionDllExample()
{
L_INT nRet = L_PrnClntSetPrinterConnectionDll(TEXT("TEST PRINTER"), TEXT("c:\\TEST DLL.dll"), TEXT("TEST SERVER"));
return nRet;
}