I don't know how to repair it in OSX but in Windows such problems usually stem from an erronous install of the printer driver. You plug it in it loads the driver something goes wrong. You plug it in again it takes the loaded driver that doesn't work instead of just reloading it from scratch.
Maybe a restart fixes it.