
Windows XP and DOS
Print Spooler Information in a Batch File
SUMMARY: Diagnose printer errors and determine how many documents are waiting to be printed on remote servers using Windows XP.
If you are a system administrator, there may be instances where you need to diagnose printer or print spooler errors. Or, to satisfy accounting requirements, you may need a mechanism to record the average use of printers. To help satisfy these needs, the Windows 2003 Resource Kit (Windows 2003 Resource Kit download/install instructions) comes with a utility called Spooler/Printer Info. This can be run as 'splinfo' from the command prompt or a batch file, and normally displays:
* The number of local printers
* The current Windows version
* Number of processors
* Total jobs spooled
* Total bytes printed
* Average bytes/job
* Browse list requested
* Browse printer added
* Spooler up time
* Server up time
The parameter "/d" displays more debugging information, possibly useful for diagnosing spooler problems. Use the parameter "/d /d" to also display the local time and server uptime. Option "/v" displays more verbose information about all installed printers, and "/z" zeroes counters displayed in verbose mode.
To connect to a remote server to view its printer spooler information, use the command-line option \\SERVER_NAME.
For example, the following command will display verbose printer spooler information for server \\REMOTE:
splinfo /v \\REMOTE
Return to the Windows XP and DOS page.
Thanks For Sharing!
Newest Tips:
Microsoft Word 2010 Make Sure Others Can See Your Fonts
Microsoft PowerPoint 2010 Animations or Video Displaying Poorly?
Google Chrome [MODIFIED] Report a Malfunctioning Web Page, Crash, or Other Issue
Google Gmail Show Unread Message Count as an Icon
Follow Us!
Email Twitter RSSAbout MalekTips and the Author
The MalekTips website was created in 1998 by Andrew Malek of Envision Programming. The page's goal is to freely disperse computer-related tips, hints, and informative articles. Tips are organized to be easy to find, and are presented clearly, in easy-to-understand language. MalekTips also provides information and links to public-domain, open source, freeware, shareware, and commercial software available for download. < more >
![[Home]](http://malektips2.com/graphics/logo-small.png)