UnLock Method

Summary

Unlocks the specified printer and enables applications to print directly to it.

Syntax
C#
VB
C++
public void UnLock( 
   string password 
) 
  
Public Sub UnLock( _ 
   ByVal password As String _ 
)  
public: 
void UnLock(  
   String^ password 
)  

Parameters

password
Printer administration password.

Remarks

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.

Example

Refer to Specifications example.

Requirements

Target Platforms

See Also

Reference

Printer Class

Printer Members

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

Leadtools.Printer Assembly