Could you post the part of the script that is causing the problems including the script code that connects to the printers