thank you all very much for all the advice and help. THE SCRIPT IS DONE!!!!! here is what had to be done to get it working.
Install 2003 server resource kit, on a xp machine, steal the prnadmin.dll and clean.vbs files and move them to root of c: on 2000 machine. Register prnadmin.dll using start , run, Regsvr32 %Drive%:\Prnadmin.dll., create and run a .bat file that is written as follows.
cscript.exe clean.vbs –b
cscript.exe clean.vbs –p
rundll32 printui.dll,PrintUIEntry /if /b "hp4" /f %windir%\inf\ntprint.inf /r "hp4" /m "HP Laserjet 4" /Z ( to add new printers)
It does the following
runs a .vbs to remove current printers
runs .vbs to remove current ports
runs.vbs to install new ports (see below)
installs new printers using rundll32 printui.dll, PrintUIEntry……. And duplicated 255 times for the printers.
The portnstl.vbs script is written as follows, and then duplicated 255 times changing host name and ip address
set oPort = CreateObject("Port.Port.1")
set oMaster = CreateObject("PrintMaster.PrintMaster.1")
oPort.ServerName = ""
oPort.PortName = "hp4"
oPort.PortType = 1
oPort.HostAddress = "10.0.7.255"
oPort.PortNumber = 9100
oPort.SNMP = false
if you would like to see the finished version complete adding all 255 ports and printers, and the .vbs scripts let me know.
it was a cobination of things that got it woking finally. they had to be done in a certain order as well. thanks again for all the help and hard work that you all put into this for me to help me get this figured out