Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Server Scripting
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

adding tcp/ip printer ports and installing printers on windows 200

Server Scripting


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-06-2006
thebucs
 
Posts: n/a
adding tcp/ip printer ports and installing printers on windows 200

i have a question, i am attempting to add about 125 tcp/ip printer ports to
16 different servers, and install 125 printers on these servers. i see that
there is a script to do this in xp and 2003 server per
http://www.microsoft.com/technet/scr.../prpovb05.mspx
is there a way to do this for windows 2000 server, or do i have to do it
manually?

Reply With Quote
  #2  
Old 07-06-2006
thebucs
 
Posts: n/a
RE: adding tcp/ip printer ports and installing printers on windows 200

ok, i figured out that i cant use prnport.vbs or prnmngr.vbs with windows
2000, i did figure out how to use printui PrintUIEntry.dll to add the
printers using the following

rundll32 printui.dll,PrintUIEntry /if /b "E221" /f %windir%\inf\ntprint.inf
/r "E221" /m "HP Laserjet 4" /z

now i just need to figure out how to add the tcp/ip ports without user
intervention. does anyone know how to do this in windows 2000 server?

"thebucs" wrote:

> i have a question, i am attempting to add about 125 tcp/ip printer ports to
> 16 different servers, and install 125 printers on these servers. i see that
> there is a script to do this in xp and 2003 server per
> http://www.microsoft.com/technet/scr.../prpovb05.mspx
> is there a way to do this for windows 2000 server, or do i have to do it
> manually?


Reply With Quote
  #3  
Old 08-06-2006
Alan Morris [MSFT]
 
Posts: n/a
Re: adding tcp/ip printer ports and installing printers on windows 200

download the Windows Resource kit. It contains prnadmin.dll and some
similar scripts as the WMI prnports.vbs but uses the spooler API set rather
than WMI (mainly reads on Win2k).

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

"thebucs" <thebucs@discussions.microsoft.com> wrote in message
news:87876D2A-7161-40DB-94E7-77E3E2A6432B@microsoft.com...
> ok, i figured out that i cant use prnport.vbs or prnmngr.vbs with windows
> 2000, i did figure out how to use printui PrintUIEntry.dll to add the
> printers using the following
>
> rundll32 printui.dll,PrintUIEntry /if /b "E221" /f
> %windir%\inf\ntprint.inf
> /r "E221" /m "HP Laserjet 4" /z
>
> now i just need to figure out how to add the tcp/ip ports without user
> intervention. does anyone know how to do this in windows 2000 server?
>
> "thebucs" wrote:
>
>> i have a question, i am attempting to add about 125 tcp/ip printer ports
>> to
>> 16 different servers, and install 125 printers on these servers. i see
>> that
>> there is a script to do this in xp and 2003 server per
>> http://www.microsoft.com/technet/scr.../prpovb05.mspx
>> is there a way to do this for windows 2000 server, or do i have to do it
>> manually?




Reply With Quote
  #4  
Old 08-06-2006
thebucs
 
Posts: n/a
Re: adding tcp/ip printer ports and installing printers on windows

ok, i must be having issues. i see an article that talks about using it for
windows 2000, but the only resource kit i can find for download is 2003
server. it will not install unless using xp or newer. have i missed
something? i did see some 2000 resource kit tool downloads, but prnadmin.dll
wasnt one of them. do you have a link to the download you are refering to?

"Alan Morris [MSFT]" wrote:

> download the Windows Resource kit. It contains prnadmin.dll and some
> similar scripts as the WMI prnports.vbs but uses the spooler API set rather
> than WMI (mainly reads on Win2k).
>
> --
> Alan Morris
> Windows Printing Team
> Search the Microsoft Knowledge Base here:
> http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "thebucs" <thebucs@discussions.microsoft.com> wrote in message
> news:87876D2A-7161-40DB-94E7-77E3E2A6432B@microsoft.com...
> > ok, i figured out that i cant use prnport.vbs or prnmngr.vbs with windows
> > 2000, i did figure out how to use printui PrintUIEntry.dll to add the
> > printers using the following
> >
> > rundll32 printui.dll,PrintUIEntry /if /b "E221" /f
> > %windir%\inf\ntprint.inf
> > /r "E221" /m "HP Laserjet 4" /z
> >
> > now i just need to figure out how to add the tcp/ip ports without user
> > intervention. does anyone know how to do this in windows 2000 server?
> >
> > "thebucs" wrote:
> >
> >> i have a question, i am attempting to add about 125 tcp/ip printer ports
> >> to
> >> 16 different servers, and install 125 printers on these servers. i see
> >> that
> >> there is a script to do this in xp and 2003 server per
> >> http://www.microsoft.com/technet/scr.../prpovb05.mspx
> >> is there a way to do this for windows 2000 server, or do i have to do it
> >> manually?

>
>
>


Reply With Quote
  #5  
Old 09-06-2006
Alan Morris [MSFT]
 
Posts: n/a
Re: adding tcp/ip printer ports and installing printers on windows

You will need to copy the files to the Win2k machine or run the script
remotely.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

"thebucs" <thebucs@discussions.microsoft.com> wrote in message
news:9657DC90-11AA-49CB-B5EB-7217B4D9C415@microsoft.com...
> ok, i must be having issues. i see an article that talks about using it
> for
> windows 2000, but the only resource kit i can find for download is 2003
> server. it will not install unless using xp or newer. have i missed
> something? i did see some 2000 resource kit tool downloads, but
> prnadmin.dll
> wasnt one of them. do you have a link to the download you are refering to?
>
> "Alan Morris [MSFT]" wrote:
>
>> download the Windows Resource kit. It contains prnadmin.dll and some
>> similar scripts as the WMI prnports.vbs but uses the spooler API set
>> rather
>> than WMI (mainly reads on Win2k).
>>
>> --
>> Alan Morris
>> Windows Printing Team
>> Search the Microsoft Knowledge Base here:
>> http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> "thebucs" <thebucs@discussions.microsoft.com> wrote in message
>> news:87876D2A-7161-40DB-94E7-77E3E2A6432B@microsoft.com...
>> > ok, i figured out that i cant use prnport.vbs or prnmngr.vbs with
>> > windows
>> > 2000, i did figure out how to use printui PrintUIEntry.dll to add the
>> > printers using the following
>> >
>> > rundll32 printui.dll,PrintUIEntry /if /b "E221" /f
>> > %windir%\inf\ntprint.inf
>> > /r "E221" /m "HP Laserjet 4" /z
>> >
>> > now i just need to figure out how to add the tcp/ip ports without user
>> > intervention. does anyone know how to do this in windows 2000 server?
>> >
>> > "thebucs" wrote:
>> >
>> >> i have a question, i am attempting to add about 125 tcp/ip printer
>> >> ports
>> >> to
>> >> 16 different servers, and install 125 printers on these servers. i see
>> >> that
>> >> there is a script to do this in xp and 2003 server per
>> >> http://www.microsoft.com/technet/scr.../prpovb05.mspx
>> >> is there a way to do this for windows 2000 server, or do i have to do
>> >> it
>> >> manually?

>>
>>
>>




Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Server Scripting


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads for: "adding tcp/ip printer ports and installing printers on windows 200"
Thread Thread Starter Forum Replies Last Post
Adding a printer/port Commandline - Auto installing printers/portd johnism XP Print Fax 7 28-09-2009 08:56 PM
No printer ports on Windows XP, can not install printer. Matt XP Print Fax 6 05-02-2009 08:42 PM
Problem with script to add printers ports, need help. rham Server Scripting 11 27-06-2007 08:16 PM
Adding Network Printer Driver in Windows XP SP2 Regnar Bang Lyngsų XP Print Fax 5 23-02-2006 06:05 AM
Adding a printer/port Commandline - Auto installing printers/portd Fiji Smithy XP Print Fax 5 31-01-2006 11:07 AM


All times are GMT +5.5. The time now is 11:27 AM.