The UnLock Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- password
- Printer administration password.
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Printer Dim password As String instance.UnLock(password) |
Parameters
- password
- Printer administration password.
This method unlocks a printer that was previously locked using the Lock method.
The unlock password must be the same as the password that was used when the specified printer was installed.
To check whether applications were prevented from directly printing to the specified printer, use the IsPrinterLocked method.
Only printers that were originally created with a password can be locked.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7