Property Name
TimeSubmitted
Property Type
Date
Description
It gets the time when the print job was submitted to the print
queue.
This property is read-only.
Example
Dim PrintQueueOperations As
IADsPrintQueueOperations
Dim PrintJobCollection As IADsCollection
Dim PrintJob As IADsPrintJob
'Get the IADsPrintQueueOperations interface. In the path HP DeskJet
'500C is the print queue.
Set PrintQueueOperations = GetObject ("NTDS://MSFT/MOON/HP DeskJet
500C")
Set PrintJobCollection = PrintQueueOperations.PrintJobs
'Enumerate individual print jobs and print the TimeSubmitted
property
For each PrintJob In PrintJobCollection
Debug.Print PrintJob.TimeSubmitted
Next PrintJob
See Also
Print Job Status Codes
Printer Status Codes