Ooops. I spoke a little too soon. I've ran the script a couple of times now and it works great. The only issue is that it seems to install the printer everytime its run so I end up with HP Colour (Copy Room) (copy 1) and (copy 2) etc.

I'm assuming that the UDF doesn't check to see if the printer is installed before proceeding. Can you direct me on how to check to see if the printer is installed and then run your UDF if it isn't? Is it some sort of registry check that's needed?