Visual Basic (Declaration) | |
---|---|
Public Function IsPrinterLocked() As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool IsPrinterLocked() |
C++/CLI | |
---|---|
public: bool IsPrinterLocked(); |
Return Value
True if the specified printer is locked; otherwise it is false.Refer to Printer.Specifications example.
This method checks if applications were prevented from directly printing to the specified printer.
To lock the specified printer, use the Lock method.
To unlock the specified printer, use the UnLock method.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family