Given the computer, print queue, and user names, this script sets the priority of the print jobs of the specified user to the given priority.
The script should be run through a host application that supports VBScript like the Windows Scripting Host or Internet Explorer. The script accepts the domain, computer, print queue and user (whose jobs are to be accorded priority) names from the user. Besides setting the priority, the script also enumerates all the print jobs submitted by the user. To run the script successfully, you need to have administrative privileges on the print queue.