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. |
See Also
Example
For an example, refer to L_PrnInstallPrinter.