IADsPrintJobOperations Property: Status

Property Name
Status

Property Type
Long

Description
Gets an integer value indicating the current status of the print job.
This property is read-only. 

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 get the Status
For each PrintJob In PrintQueueOperations.PrintJobs
Set PrintJobOperations = PrintJob
 Debug.Print PrintJobOperations.Status
Next PrintJob

 

See Also