L_EpnGetPrinterUISettings

#include "l_eprint.h"

L_INT EXT_FUNCTION L_EpnGetPrinterUISettings (pszPrinterName, pUISettings);

L_CHAR L_FAR * pszPrinterName;

/* printer name */

EPNUISETTINGS L_FAR * pUISettings;

/* pointer to a structure */

Retrieves the user interface configuration of an ePrint printer.

Parameter

Description

pszPrinterName

Character string that contains the name of the ePrint printer.

pUISettings

Pointer to an EPNUISETTINGS structure to be updated with the user interface configuration of the specified printer.

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.

When the user interface settings are no longer needed, the data allocated in pUISettings parameter should be freed by calling the L_EpnFreePrinterUISettings 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_EpnSetPrinterUISettings, L_EpnFreePrinterUISettings

Topics:

EPrint: Getting and Setting Printer Specification

 

Setting and Getting ePrint Printer Settings

Example

For an example, refer to L_EpnFreePrinterUISettings.