L_PrnClntSetPrinterConnectionDll

Summary

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

Syntax

#include "ltPrinterClientInstall.h"

L_LTPRINTERCLIENTINSTALLER_API L_INT EXT_FUNCTION L_PrnClntSetPrinterConnectionDll(pszPrinterName, pszPrinterDll, pszServer)

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 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Virtual Printer C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.