Printers

Tech Tip: Access the Printer User Interface command-line tool

Learn about the printer operations that you can perform with the Printer User Interface command-line tool.

If you're always on the lookout for easy-to-use command-line tools for managing local and network computers via old-fashioned batch files, here's another tool to add to your toolkit. Windows XP has a very powerful, yet little-known, command-line tool for working with printers called the Printer User Interface tool.

Using this tool, you can create some really fancy batch files for accessing and managing every aspect of local and network-based printers.

To view the full listing of printer operations that you can perform with the Printer User Interface command-line tool, you can open a detailed dialog box by entering the following command at a command prompt:

Rundll32 Printui.dll,PrintUIEntry /?

The first 60 lines in the dialog box list the syntax and the various parameters and switches that you can use with the Printer User Interface command-line tool. The remaining lines provide examples and descriptions of all the operations that you can perform.

Editor's Picks

Free Newsletters, In your Inbox