There are a few ways to do this. If you are adding them as local devices with ports, one of the easiest is to use the built-in vbs scripts on Windows under:
C:\Windows\System32\Printing_Admin_Scripts\en-US
If you need to create the ports you can do this via prnport.vbs then create the printer using prnmngr.vbs. Both of these commands are very straight forward to use:
cscript prnport.vbs -a -r <port name> -h <ip address>
cscript prnmngr.vbs -a -p <printer name> -m <driver name> -r <port name>
Putting this into a large batch file is simple.
I do this so often that I built an Excel Workbook to do it for me. This also allows you to select a remote system / server and poll it for what drivers are installed so you don't mis-type that. You can use this to do the actual work or to create you a batch file that you can later modify.