L_EpnGetEPrintPrinterType

#include "l_eprint.h"

L_INT EXT_FUNCTION L_EpnGetEPrintPrinterType (pszPrinterName, pnType)

L_CHAR L_FAR * pszPrinterName;

/* printer name */

EEPNPRINTERTYPE L_FAR * pnType;

/* pointer to an enumeration */

Determines the type of the specified ePrint printer.

Parameter

Description

pszPrinterName

Character string that contains the ePrint printer name.

pnType

Pointer to an EEPNPRINTERTYPE enumeration to be updated with the ePrint printer type. Possible values are:

 

Value

Meaning

 

EPN_PRINTER_NORMAL

Normal ePrint printer.

 

EPN_PRINTER_TASK

Task ePrint Printer.

 

EPN_PRINTER_ADVANCED

Advanced ePrint Printer.

 

EPN_PRINTER_OEM_NORMAL

Normal OEM ePrint Printer.

 

EPN_PRINTER_OEM_TASK

Task OEM ePrint 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.

This function is used only with LEADTOOLS ePrint printers.

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_EpnSetPrinterSpecifications, L_EpnGetPrinterSpecifications, L_EpnSetPrinterSaveOptions, L_EpnGetPrinterSaveOptions, L_EpnSetPrinterMailMessageInfo, L_EpnGetPrinterMailMessageInfo, L_EpnSetPrinterEmailConfiguration, L_EpnSetPrinterUISettings, L_EpnFreePrinterUISettings, L_EpnGetPrinterUISettings

Topics:

ePrint: Getting and Setting Printer Specification

 

Using the OEM Version of ePrint

Types of Printers

Example

/* This example gets a printer type */
/* Declare an EEPNPRINTERTYPE enum that will be passed to the function to retrieve the printer type */
EEPNPRINTERTYPE nType; 
L_EpnGetEPrintPrinterType
("LEADTOOLS ePrint 5", &nType );