IADsPrintQueue Property: DefaultJobPriority

Property Name
DefaultJobPriority

Property Type
Long

Description
Gets and sets the default priority assigned to each print job. This indicates that every job that is spooled to the queue is assigned this priority.

Valid values
Valid values are from 1 to 99, where 1 is the lowest priority and 99 is the highest priority.

Example

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

 

See Also