Directory Services

IADsPrintQueueOperations

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:

  1. Retrieving all print jobs submitted to the print queue.
  2. Suspending the print queue operation.
  3. Resuming the print queue operation.
  4. Removing all print jobs from the print queue.

Methods in Vtable Order

The IADsPrintQueueOperations interface inherits the methods of the standard COM interfaces:

In addition, IADsPrintQueueOperations defines the following methods.

Method 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.

Properties

The IADsPrintQueueOperations interface defines the following property. The preceding table includes an access method for this property.

Property Description
Status States the current status of print queue service.

Requirements

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.

See Also

IADs