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.
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.