IADsPrintQueue Property: UntilTime

Property Name
UntilTime

Property Type
Date

Description
Gets and sets the time at which the queue should stop processing jobs. The date portion of the time is ignored.

Remarks
If the start time is equal to the until time field then the printer has no time restriction, and is always available for use - it basically means that the time range for accepting print jobs is implicitly set to "Always".

Example

Dim PrintQueue As IADsPrintQueue
'Get the interface
Set PrintQueue = GetObject ("NTDS://MSFT/MOON/HP DeskJet 500C")
'Get UntilTime property
Debug.Print PrintQueue.UntilTime
'Set the UntilTime property
PrintQueue.UntilTime = "01:30:00"
'Commit the changes
PrintQueue.SetInfo

 

See Also