The IADsPrintQueueOperations interface is a dual interface that inherits from IADs. It is designed to control a printer across a network. It supports the following operations:
The IADsPrintQueueOperations interface inherits the methods of the standard COM interfaces:
In addition, IADsPrintQueueOperations defines the following methods.
|get_Status||States the current status of print queue service.|
|PrintJobs||Retrieves an interface pointer on a collection object that represents print jobs managed by this print queue.|
|Pause||Pauses print queue processing of print jobs.|
|Resume||Resumes print queue processing of print jobs.|
|Purge||Purges all jobs from a print queue.|
The IADsPrintQueueOperations interface defines the following property. The preceding table includes an access method for this property.
|Status||States the current status of print queue service.|
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.