Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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.

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

![]() |
Stop error 0x0000007B hel...
|
how to fix winnt\system32...
|

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