IADsPrintQueueOperations
The IADsPrintQueueOperations interface is designed to control a printer across a network. It supports the following operations:
- Retrieving all print jobs submitted to the print queue.
- Suspending the print queue operation.
- Resuming the print queue operation.
- Removing all print jobs from the print queue.
IADsPrintQueueOperations is a dual interface that inherits from IADs. The IADsPrintQueueOperations interface exposes the following methods.
Methods in Vtable Order
IUnknown methods |
Description |
QueryInterface |
Returns pointers to supported interfaces. |
AddRef |
Increments the reference count. |
Release |
Decrements the reference count. |
IDispatch methods |
Description |
GetTypeInfoCount |
Gets the number of type descriptions. |
GetTypeInfo |
Gets a description of the object's programmable interface. |
GetIDsOfNames |
Maps the name of the method or property to DISPID. |
Invoke |
Calls one of the object's methods, or gets and sets one of its properties. |
IADsPrintQueueOperations property methods |
Description |
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. |
Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
Windows 95/98: Requires Windows 95 or later (with DSClient).
Header: Declared in Iads.h.
See Also
IADs