Pause();
Description
Pauses the processing of the print job.
Remarks
The user must have administrative privileges on the print queue to
use this method.
Example
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 pause all the jobs
For each PrintJob In PrintQueueOperations.PrintJobs
Set PrintJobOperations = PrintJob
PrintJobOperations.Pause
Next PrintJob
See Also
Print Job Status Codes
Printer Status Codes