L_EpnSetPrinterBatchPrintersList

#include "l_eprint.h"

L_INT EXT_FUNCTION L_EpnSetPrinterBatchPrintersList (pszPrinterName, hPrintersList)

L_CHAR L_FAR * pszPrinterName;

/* printer name */

HEPNPRINTERSLIST hPrintersList;

/* handle to an existing printers list */

Sets the printers list of an ePrint printer.

Parameter

Description

pszPrinterName

Character string that contains the name of the ePrint printer.

hPrintersList

Handle to an existing printers list, created by calling the L_EpnCreatePrintersList function.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Support for Basic functionality must be unlocked by calling the L_EpnUnlockSupport function before using this function.

These settings will be used whenever the user prints using this ePrint printer.

When setting the batch printers list of an OEM printer, the user must first install the OEM printer using L_EpnInstallOEMPrinter before calling this function.

Required DLLs and Libraries

LPKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to ePrint Files.

See Also

Functions:

L_EpnInstallOEMPrinter, L_EpnGetPrinterBatchPrintersList, L_EpnCreateRedirectionDC, L_EpnGetPrintersCount, L_EpnCreatePrintersList, L_EpnDestroyPrintersList, L_EpnAddPrinterToList, L_EpnRemovePrinterFromList, L_EpnGetPrinterFromList, L_EpnIsPrinterInList

Topics:

ePrint: Getting and Setting Printer Specification

 

Setting and Getting ePrint Printer Settings

Example

For an example, refer to L_EpnInstallOEMPrinter.