Inherited from
Applies to Objects
This interface is exposed from the Print Queue object and is used to perform administrative tasks on the queue. The interface contains methods used for getting a list of print jobs in the queue, purging the queue, pausing operations of the queue, and restarting the queue.
Property/Method |
Description |
Pauses the processing of print jobs in the print queue |
|
Returns a collection of references to print job objects |
|
Purges (deletes) all jobs from the print queue |
|
Resumes processing of paused print jobs in the print queue |
|
Returns an integer value indicating the current status of the print queue |
Example
Dim PrintQueueOperations As
IADsPrintQueueOperations
'Get the interface. In the path HP DeskJet 500C is the print
queue.
Set PrintQueueOperations = GetObject ("NTDS://MSFT/MOON/HP DeskJet
500C")
'Print the Status property
Debug.Print PrintQueueOperations.Status