L_PrnClntSetPrinterConnectionDll

#include "ltPrinterClientInstall.h"

L_LTPRINTERCLIENTINSTALLER_API L_INT EXT_FUNCTION L_PrnClntSetPrinterConnectionDll(pszPrinterName, pszPrinterDll, pszServer)

Installs the LEADTOOLS Network Virtual Printer Driver to the client system.

Parameters

L_TCHAR * pszPrinterName

Character string that contains the name of the printer.

L_TCHAR * pszPrinterDll

Character string that contains the path to the printer connection DLL.

L_TCHAR * pszServer

Character string that contains the name of the printer server.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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

Platforms

Win32, x64.

Example

L_INT SetPrinterConnectionDllExample() 
{ 
   L_INT nRet = L_PrnClntSetPrinterConnectionDll(TEXT("TEST PRINTER"), TEXT("c:\\TEST DLL.dll"), TEXT("TEST SERVER")); 
    
   return nRet; 
} 
Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Virtual Printer C API Help