Printers and Jobs Report (VBScript)
- Details
- Category: Scripts and Code
- Published on Sunday, 10 November 2013 22:55
- Written by Christian Dunn
Monitoring printers and print jobs in Windows isn't always easy especially if your printer queues are scattered across multiple servers. If you want near real time monitoring of errors or problems with your printers or print jobs then my application, Print Stalker, can be installed on each server to notify you directly when these issues occur. There are many instances however where you may be required to report on the status of all printers on the network or identify any print jobs that may be causing concern on individual printers. This script produces a detailed color coded report with that information.
This script includes the following features:
- Command line progress notifications to identify when/if problems occur
- Tables of printer status and details and print jobs status and details for all servers specified
- Color coding of printer and job status for easy identification
- Configurable output location
- HTML report generation with options to save to file or open in browser automatically
- CDO email report sending option with ability to include inline header logo image (if file exists)
- Configurable Options section marked in script to assist beginners in making modifications
- WMI queries on Win32_Printer and Win32_Printers
This script uses WMI to access each server and will usually require administrative access to run successfully for remote servers.
Due to the length and complexity of this script I have not included the code here but it can be downloaded in the attached zip file. To execute the script extract the zip file, edit the print.vbs script for any required changes and run print.bat in the printers folder.
Sample Report Extract:
| |||||||||||||||||||||||||||||||||||||||||||||||||
|