IADsPrintQueueOperations Method: Pause

Pause();

Description
Pauses processing of print jobs in the print queue.

Remarks
The user must have administrative privileges on the queue to use this method.

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")
'Pause the queue
PrintQueueOperations.Pause

 

See Also