Error code 2 is a generic Windows error code that means “file not found”.
If you are using the “Start Application” feature of the printer driver, it is possible that the driver cannot find the specified application.