JSI Tip 8649. The PrintDriverInfo.exe utility.


Printdriverinfo.exe is a command-line tool that is used to collect information about printer drivers, including their format and mode. The tool also has the ability to map a driver file back to the printer that uses it.

Printdriverinfo.exe runs on Windows 2000, Windows XP Professional, or Windows Server 2003 operating systems.

Download the Windows Server 2003 Resource Kit.

When you type printdriverinfo /?, you receive:

--------PrintDriverInfo usage help--------


This tool is intended for Admins and Support to help
triage and document print server / driver settings.

Cmd line switches:

        /S = server name to look at a remote server
        /P = printer name to look at a specific printer
        /D = driver name to look at a specific driver
        /F = file name of a driver to look at a specific file

Exmaple usage:

        Show info about a local printer
        PrintDriverInfo.exe /P:"printer name"

        Show info about a printer on a remote system
        PrintDriverInfo.exe /P:"printer name"  /S:MyServerName

        Show info on a local system from the driver name
        PrintDriverInfo.exe /D:"driver name"

        Show info on all drivers on local system
        PrintDriverInfo.exe

        Show info on all drivers on remote system
        PrintDriverInfo.exe /S:MyServerName

Misc notes on using this tool:

-If you pass a param like a printer name that has spaces it must be wrapped in quotes
-For remote server actions you must have admin access to server
-When passing the server name do not include the '\\' , only pass the name of the server
-For remote queries, at least one printer on the remote machine must be shared to get file info
-For remote queries, the tool uses the admin$ and print$ shares which are on a server by default



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish