L_PrnIsLeadtoolsPrinter

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnIsLeadtoolsPrinter(pszPrinterName, pbLeadtoolsPrinter)

L_TCHAR * pszPrinterName;

/* printer name */

L_BOOL* pbLeadtoolsPrinter;

/* flag */

Determines whether the specified printer is a (virtual) LEADTOOLS Virtual Printer Driver.

Parameter

Description

pszPrinterName

Character string that contains the name of the printer.

pbLeadtoolsPrinter

Pointer to a variable to be updated with a value that determines whether the specified printer is a LEADTOOLS Virtual Printer Driver.  Possible values are:

 

Value

Meaning

 

TRUE

The printer is a LEADTOOLS Virtual Printer Driver.

 

FALSE

The printer is not a LEADTOOLS Virtual Printer Driver.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

LEADTOOLS Virtual Printer Drivers are installed by calling L_PrnInstallPrinter.

Required DLLs and Libraries

LTPRINTER

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your LEADTOOLS Virtual Printer Driver Application.

Platforms

Win32, x64.

See Also

Functions:

L_PrnInstallPrinter, L_PrnSetPrinterSpecifications, L_PrnGetPrinterSpecifications,  L_PrnIsPrinterLocked, L_PrnLockPrinter, L_PrnUninstallPrinter

Topics:

LEADTOOLS Virtual Printer: Getting and Setting Printer Specification

 

Working with the LEADTOOLS Virtual Printer Driver

Example

For an example, refer to L_PrnInstallPrinter.