VBScript to create printer and ports

L

leffe911

Hi All,

I want to use prnadmin to assist in setting up our new print servers
during out NT4 to Win2003 migration.

I plan to write a script that queries the current NT4 servers and
writes out the configuration (printname, port name, driver, share
etc...)

Then another script uses this spreadsheet and creates the printers on a
new server.

However I need a method that allows my creation script to check for the
existence of a port/or a printer and only attempt to create it if it
doesn't already exist.

Has anyone got any sample scripts of how this can be achieved.

Cheers
Anthony.
 
L

leffe911

Saraga,

Thanks for the reply but unfortunately Print Mig is not always the
right tool for the job. Print Mig is very unflexible when it comes to
migrating, it doesn't allow for you to make changes (standardise)
going into the new environment.

70% of my 1300 print queues are currently setup using HP TCP/IP ports
and using HP vendor drivers. I now want to standardise all ports as
Standard TCP/IP ports and to use native windows drivers wherever
possible.

Print Mig will not allow you to change port type (except for LPR to Std
TCP/IP) when migrating. It will also copy drivers from source to
target, I want to setup a new clean print server.

Also I want the flexibility of exporting current settings to
speadsheet, updating details like comment and location (to use new
standards) and then use these settings to create my new printers.

So any scripting assistance to my original question would be
appreciated!

Cheers
Anthony.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top