#171695 - 2006-12-18 09:16 PM
IP Printer Migration
|
Dmartin05
Fresh Scripter
Registered: 2006-02-01
Posts: 49
|
Hey All,
I am trying to find a way to do the following and I cannot figure out how to do it:
We currently have 2 Print servers that we are consolidating to 1. I want to run a script on the new print server that will look at a text file with the new IP Port and Share name and create it on the print server. I 1st want it to verify if there is any Printers already installed with the correct info, and if there is to move on to the next one.
Basically, I want thescript to look at a text file and add the IP Port and Share name to the new print server.
I have looked at ALLEN's UDF but I don't know if it can handle the amount of printers that I want to add. Also I don't think it compares to see if there is already a setup witht he same IP Port and share name.
NE help would be greatly appreciated..
Thx again
|
Top
|
|
|
|
#171724 - 2006-12-19 05:16 AM
Re: IP Printer Migration
[Re: NTDOC]
|
Dmartin05
Fresh Scripter
Registered: 2006-02-01
Posts: 49
|
Thanks for both of your responses. I guess I should have mentioned that the old server currently has all of the old ip scheme. The new printers will replace the old ones and will go on a new server and will have a new ip. **Name will stay the same**
NTDOC: I did read the links and it looks like this would help me except for the fact that i am changing ips. I would also need some type of script to create the printer port and add the printer name to the new server. I can definitely use this down the road when the new printers have been created. thx
Allen: The good news is that the 350 printers are all the same model. Can your UDF handle the creation of 300 new ip ports and adding the printers to the server?
Can I create a .txt file with the printer names and ip address of the new printer? Can it check to see if it exist already and to skip over it if it does?
Last but not least, is there a script that I can use to share all of the printers at once? (Via .txt file maybe)
Sorry for so many questions, I'm just trying to give you as much info as possible.
DM
|
Top
|
|
|
|
#171726 - 2006-12-19 08:22 AM
Re: IP Printer Migration
[Re: Dmartin05]
|
Allen
KiX Supporter
Registered: 2003-04-19
Posts: 4545
Loc: USA
|
Here is a very primitive UDF for creating a printer share. Used with Addprinter you should be able to accomplish what you want.
SharePrinter()
|
Top
|
|
|
|
#171742 - 2006-12-19 07:19 PM
Re: IP Printer Migration
[Re: Witto]
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11623
Loc: CA
|
I knew someone would reply
|
Top
|
|
|
|
#171929 - 2006-12-22 07:20 PM
Re: IP Printer Migration
[Re: Les]
|
Dmartin05
Fresh Scripter
Registered: 2006-02-01
Posts: 49
|
Thanks for all your reponses, NTDOC we have more than 1 subnet, so we should be OK.
I am in the middle of trying out all of the information that I have gathered from this post and testing it out.
I have successfully used the 1st Add Printer UDF, but how would I tell it to go look at an .txt file or excel sheet?
|
Top
|
|
|
|
#171931 - 2006-12-22 07:26 PM
Re: IP Printer Migration
[Re: Gargoyle]
|
Dmartin05
Fresh Scripter
Registered: 2006-02-01
Posts: 49
|
WOW Talk about Reponse time! THX Gargoyle.... I will read the link above
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 557 anonymous users online.
|
|
|