IPrintJobAdditionalOperations Interface

Inherited from

IDispatch

IUnknown

IADs

Applies to Objects

Print Job

This interface is exposed from the Print Job object. It provides methods for operations not supported in the IADsPrintJobOperations interface. These operations include canceling and restarting a print job.

Properties/ Methods

Description

Cancel

Removes the print job from the print queue.

Restart

Starts the print job from the beginning. If the job was paused in between, this method will restart the job from the beginning.

Example

Dim PrintQueueOperations As IADsPrintQueueOperations
Dim PrintJobAdditionalOperations As IPrintJobAdditionalOperations
'Get the IADsPrintQueueOperations interface. In the path HP DeskJet '500C is the print queue.
Set PrintQueueOperations = GetObject ("NTDS://MSFT/MOON/HP DeskJet 500C")