05-09-2006 07:02 PM
05-09-2006 09:19 PM
Try this thread for some ideas.
http://forums.ni.com/ni/board/message?board.id=170&message.id=177367&query.id=10992#M177367
You could use a command prompt and some DOS commands to look at queue status, or you could use .vbs scripts.
http://www.microsoft.com/technet/scriptcenter/scripts/printing/servers/default.mspx
05-09-2006 09:34 PM
You should be able to use prnjobs.vbs
• |
This command starts a script that is located in the systemroot\system32 directory. You must type this command at a command prompt with that directory as the current directory, or you must type the full path to that directory at the beginning of the cscript command. |
• |
To display a list of print jobs and their ID numbers, use this command with the -l parameter. |
• |
If the information that you supply contains spaces, use quotation marks around the text (for example, "Computer Name"). |
To list the print jobs in a print queue
cscript prnjobs -l [-s RemoteComputer] [-p PrinterName] [-u UserName -w Password]
-l : Required. Specifies that you want to list all the print jobs in a print queue.
-s RemoteComputer : Specifies, by name, the remote computer that hosts the print queue whose jobs you want to list. If you do not specify a computer, the local computer is used.
-p PrinterName : Specifies, by name, the printer whose print queue contains the jobs you want to list. If you do not specify a printer, then all jobs in all print queues are listed.
-u UserName -w Password : Specifies an account with permissions to connect by using Windows Management Instrumentation (WMI) services to the computer that hosts the print queue whose jobs you want to list. All members of the Administrators group for that computer have these permissions, but the permissions can also be granted to other users. If you do not specify an account, you must be logged on under an account with these permissions for the command to work. For more information on WMI, see Related Topics.
/?: Displays help at the command prompt.