L_PrnUnlockPrinter

#include "Ltprinter.h"

L_LTPRINTER_API L_INT EXT_FUNCTION L_PrnUnlockPrinter(pszPrinterName, pszPassword)

Unlocks the specified LEADTOOLS Virtual Printer Driver and enables applications to print directly to it.

Parameters

L_TCHAR * pszPrinterName

Character string that contains the printer's name.

L_TCHAR * pszPassword

Character string that contains the printer's administrative password.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

This function unlocks a LEADTOOLS Virtual Printer Driver that was previously locked using the L_PrnLockPrinter function.

The value of the pszPassword parameter must be the same as the value of PRNPRINTERINFO.pszPassword member used when the printer was installed using the L_PrnInstallPrinter function.

Required DLLs and Libraries

Platforms

Win32, x64.

Help Version 22.0.2021.10.28
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Virtual Printer C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.