Sorry for the delayed reply. Many fires to put out that have delayed me revisiting this.

I have tested the new script and it seems to work beautifully (i used the full name of the printer for printertype). Now I just need to test it again in the other environment and we should be good to go. Thank you SO MUCH for your help.