Leadtools.Printer Namespace > Printer Class : IsPrinterLocked Method |
public bool IsPrinterLocked()
'Declaration Public Function IsPrinterLocked() As Boolean
public bool IsPrinterLocked()
function Leadtools.Printer.Printer.IsPrinterLocked()
public: bool IsPrinterLocked();
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2