Hi all,

I am working on a project involving a large printer migration to a new platform. We will be using Windows 2000 (at least that's the plan). I figured there would be a nice way to create the necessary ports and queues using WMI. I had already spotted the sample scripts in WinXP (prnport.vbs etc.) but when I started testing I quickly found out that these scripts use WMI classes that have been introduced in WinXP/2003 and are NOT available in win2K.

Does anybody have any ideas how I go about creating a bunch of printer ports (lpr) on a windows 2000 machine? I already searched the web for command line tools or something else but wasn't able to find anything useful yet.

Anybody here has experience with this? or has an idea?

any help would be greatly appreciated!
rgrds, Maarten