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
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your LEADTOOLS Network Virtual Printer Driver Client Application.

Platforms

Win32, x64.

See Also

Functions:

L_PrnClntStartup, L_PrnClntShutdown, L_PrnClntPrintJob

Topics:

Working with the LEADTOOLS Network Virtual Printer Driver

Example

L_INT SetPrinterConnectionDllExample() 
{ 
   L_INT nRet = L_PrnClntSetPrinterConnectionDll(TEXT("TEST PRINTER"), TEXT("c:\\TEST DLL.dll"), TEXT("TEST SERVER")); 
   return nRet; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help