Hi and thanks for your help so far. However I'm quite new with this stuff and I really don't know how to modify the code to make it match my requirements. As far as I can see the code is for changing printserver, which isn't what I'm doing. I'm hoping tha someone can come up with a code that can help me here?

Thanks in advance,
Ronnie