Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify Print Job PriorityContent of Modify Print Job Priority.vbsMD5 Hash: E0DB44DC3E35E86A7E5F32AAFE6D6767 |
||
' Description: Uses ADSI to change the priority of current print jobs based on the size of those print jobs.
Set objPrinter = GetObject _ ("WinNT://atl-dc-02/ArtDepartmentPrinter, printqueue") For Each objPrintJob in objPrinter.PrintJobs If objPrintJob.Size > 400000 Then objPrintJob.Put "Priority" , 2 objPrintJob.SetInfo Else objPrintJob.Put "Priority" , 3 objPrintJob.SetInfo End If Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |