Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

L_PrnClntSetPrinterConnectionDll

Show in webframe

#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_LTPRINTERTEX_API  L_INT SetPrinterConnectionDllExample()
{
   L_INT nRet = L_PrnClntSetPrinterConnectionDll(TEXT("TEST PRINTER"), TEXT("c:\\TEST DLL.dll"), TEXT("TEST SERVER"));
   
   return nRet;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.