Automating the process through scripting
Get queue and port information from old server or client
The Microsoft tools prnmngr.vbs and prnport.vbs can simplify the task of gathering information such
as queue names, driver names, port names, IP addresses, etc, from the old server. This information
can be used later to create the new queues either manually or to automate the process by scripting.
Creating print queues and ports
The Microsoft tools prnport.vbs, prnmngr.vbs and printUI.dll can simplify the task of creating print
queues and printer ports.
The
Microsoft Windows 2003 Resource Kit contains the prnadmin.dll which can be used to automate
many printing tasks.
Other scripting examples
There is a wealth of information and scripting examples available on the Microsoft web site at
Microsoft Script Repository: Printing.
ENWW Automating the process through scripting 219