Computing.Net > Forums > Windows 2000 > unattend install TCP/IP print port

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

unattend install TCP/IP print port

Reply to Message Icon

Name: furble
Date: May 28, 2003 at 18:14:52 Pacific
OS: Windows 2000
CPU/Ram: n/a
Comment:

Hi

I have a windows 2000 server which i am going to make my print server, i have over 500 TCP/IP printers i need to make print queues out of so obviously i am wanting to do this in an unattended script way, rather than manually adding each printer through the add printer wizard. Now i know how to add the printer through a script if my Standard TCP/IP port is created already, but i need to find a way to make 500 or so standard TCP/IP ports on Windows 2000, in an unattended way.

Any help or ideas appreciated.

Thanks
furble



Sponsored Link
Ads by Google

Response Number 1
Name: SJafiu
Date: May 28, 2003 at 23:48:44 Pacific
Reply:

You can automate the printer creation process. But I', not sure it's any faster than just making them manually.

If you do them in blocks of 25 it's not so bad (or 50). Only because the scripting may take just as much time to tweak, also create the ports in blocks, because if it fails you'll have less potential ports to double check as each block is processed.

Check out

HOW TO: Programmatically Create a Printer and Printer Port by Using PrinterAdmin (Prnadmin.dll) with a Visual Basic Script in Microsoft Windows 2000. Microsoft Knowledge Base Article - 321025

http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b321025

AND cscript prnport.vbs

http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodtechnol/winxppro/proddocs/prnport.asp

One may be easier than the other depending on your case. Lastly if the printers Already exists (in a microsoft environment) there is a Printer Migration tool. Good Luck.



0

Response Number 2
Name: furble
Date: June 1, 2003 at 23:18:22 Pacific
Reply:

Hi Sjafiu

Thanks for the followup, i've found the scripts, and found i can add printers as well as ports but i am having trouble adding a 3rd party driver.

When i add a printer with a driver that comes standard with Win 2000 it works fine, when i try to point to a different driver dir, as the driver doesn't reside in ntprint.inf i'm running into a bit of trouble, your probably right about doing them manually will take as much time, but at least this way i'll be armed with a script for the future.

Thanks
furble


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Stop error 0x0000007B hel... how to fix winnt\system32...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: unattend install TCP/IP print port

LPR for TCP/IP Printing www.computing.net/answers/windows-2000/lpr-for-tcpip-printing/45874.html

Re-Installed TCP/IP www.computing.net/answers/windows-2000/reinstalled-tcpip/34242.html

TCP/IP printing - how to track..... www.computing.net/answers/windows-2000/tcpip-printing-how-to-track/44280.html