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.