Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

L_PrnIsPrinterLocked

Show in webframe

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnIsPrinterLocked(pszPrinterName, pbLocked)

L_TCHAR * pszPrinterName;

/* LEADTOOLS Virtual Printer Driver name */

L_BOOL * pbLocked;

/* locking status */

Indicates whether the specified LEADTOOLS Virtual Printer Driver is locked.

Parameter

Description

pszPrinterName

Character string that contains the LEADTOOLS Virtual Printer Driver name.

pbLocked

Pointer to a variable to be updated with the locking status of the specified LEADTOOLS Virtual Printer Driver.  Possible values are:

 

Value

Meaning

 

TRUE

LEADTOOLS Virtual Printer Driver is locked.

 

FALSE

LEADTOOLS Virtual Printer Driver is unlocked.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function checks whether applications were prevented from directly printing to the specified LEADTOOLS Virtual Printer Driver.

To lock the specified LEADTOOLS Virtual Printer Driver, call the L_PrnLockPrinter function.

To unlock the specified LEADTOOLS Virtual Printer Driver, call the L_PrnUnlockPrinter function.

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_PrnLockPrinter, L_PrnUnlockPrinter, L_PrnInstallPrinter, L_PrnUninstallPrinter

Topics:

LEADTOOLS Virtual Printer: Locking and Unlocking LEADTOOLS Virtual Printer Drivers

 

Working with the LEADTOOLS Virtual Printer Driver

Example

For an example, refer to L_PrnInstallPrinter.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.