I added the above script to my script and they all successfuly connect but for some printers it takes about 1 min to connect which is way too long.

Any suggestions.

Do you think i should download different drivers?