where abouts are printer settings stored?

here's the problem:

we run proliant servers with nt4 sp6 server and some of these are purely print servers - everything from HP 5si (mainly) and 8000 to 8550 colour laser etc.

Occasionaly we need to remove and re-add all of these, and have a script to do so, but when the script puts them back on, it misses out stuff like duplex unit, 2000 sheet feeder. So i need to know where these settings are stored (ie. registry, cfg type file etc) so I can modify the script to read off this data and add it afterwards.

Cheers in advance!