| LEADTOOLS Raster Imaging C DLL Help > Function References > l_prnclntsetprinterconnectiondll |
#include "ltPrinterClientInstall.h"
L_LTPRINTERCLIENT_AP L_INT EXT_FUNCTION L_PrnClntSetPrinterConnectionDll(pszPrinterName, pszPrinterDll, pszServer)
|
L_TCHAR * pszPrinterName; |
/* printer 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. |
Returns
|
SUCCESS |
The function was successful. |
|
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function must be executed on the client machine, 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.
See Also
|
Functions: |
|
|
Topics: |
Example
L_LTPRINTERTEX_API L_INT SetPrinterConnectionDllExample()
{
L_INT nRet = L_PrnClntSetPrinterConnectionDll(TEXT("TEST PRINTER"), TEXT("c:\\TEST DLL.dll"), TEXT("TEST SERVER"));
return nRet;
}