IADsPrintQueue

The IADsPrintQueue interface enables a COM object in Active Directory to manage information about a print queue service on a network. Use IADsPrintQueueOperations methods to actually control the print queue. To list or modify the jobs in a queue, use IADsPrintQueueOperations::PrintJobs to retrieve an interface on the collection of ADSI PrintJob Objects.

Properties accessed by IADsPrintQueue are defined on the ADSI PrintQueue Object.

When to Implement

Implement IADsPrintQueue only when you are providing an Active Directory implementation for a directory service that supports print queue services on a network. If your directory service does not support this functionality, return E_NOTIMPL for this interface.

When to Use

Call the methods on this interface when you are browsing through a print queue's collection of print jobs.

Methods in VTable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IDispatch Methods Description
GetTypeInfoCount Gets the number of type descriptions.
GetTypeInfo Gets a description of object's programmable interface.
GetIDsOfNames Maps name of method or property to DISPID.
Invoke Calls one of the object's methods, or gets/sets one of its properties.

IADs Properties and Methods Description
get_Name Gets the object's relative name.
get_Class Gets the object's schema class name.
get_GUID Gets the object's globally unique identifier.
get_ADsPath Gets the object's ADsPath that uniquely identifies this object from all others.
get_Parent Gets the object's ADsPath string for its parent container.
get_Schema Gets the ADsPath string to the schema class definition object for this object.
GetInfo Reloads the changes on this object and its dependents.
SetInfo Saves the changes on this object and its dependents.
Get Gets the value for a property by name.
Put Sets the value for a property by name.
GetEx Gets the value for a single or multi-valued property by name.
PutEx Sets the value for a single or multi-valued property by name.
GetInfoEx Reloads specific property values for this object as they exist in the underlying directory service.

IADsPrintQueue Methods Description
get/put_PrinterPath Path by which a shared printer can be accessed.
get/put_Model Name of the driver used by this print queue.
get/put_Datatype Data type that can be processed by this print queue.
get/put_PrintProcessor Print processor associated with this print queue.
get/put_Description Description of this print queue.
get/put_Location Administrator's description of print queue location.
get/put_StartTime Time at which print queue starts processing jobs.
get/put_UntilTime Time at which print queue stops processing jobs.
get/put_DefaultJobPriority Default priority assigned to each print job.
get/put_Priority Priority of this printer object's job queue for connected devices.
get/put_BannerPage File system path to banner page file used to separate jobs.
get/put_PrintDevices Names of print devices that this print queue uses as spooling devices.
get/put_NetAddresses Binding information.