IADsPrintJobOperations Method: Resume

Resume();

Description
This method resumes the processing of the print job that was paused earlier.

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

Example

Dim PrintQueueOperations As IADsPrintQueueOperations
Dim PrintJob As IADsPrintJob
Dim PrintJobOperations As IADsPrintJobOperations
'Get the IADsPrintQueueOperations interface. In the path HP DeskJet '500C is the print queue.
Set PrintQueueOperations = GetObject ("NTDS://MSFT/MOON/HP DeskJet 500C")
'Enumerate individual print jobs and resume all the jobs
For each PrintJob In PrintQueueOperations.PrintJobs
 Set PrintJobOperations = PrintJob
 PrintJobOperations.Resume
Next PrintJob

 

See Also