I managed to get something similiar going, though nowhere as elegant as yours.

I will incorporate your code into my script to make it look a bit better. Will help the admins out greatly that they only have to change 1 file to update the printers.

I agree with your logging comments, once I get the basic theory going, then I will work on the logging.

I can't thank you enough for helping me out
BIG Double thumbs up to ya !! Your a legend !

BTW - what does the $RC = do ? Does that catch any output?

Thanks again.