Script Debugger provides everything you need to quickly and easily author AppleScripts that work.
Enable your computer to communicate with the printer.
It is designed to rectify numerous errors related to printers.