Bad File Descriptor when adding a printer
So I had this same problem with and HP printer. I deleted and tried to reinstall the printer but I was unable to reinstall the printer. It turns out there was a job that was still pending but not in my printer queue. The solution I found was from this page:
https://www.macworld.com/article/1141820/business/printertroubleshooting.html
The answer was to visit http://127.0.0.1:631 which is the interface for CUPS (Common Unit Printing System) Click on "Jobs" tab then delete the job that is in there. The User Name and Password are the same as your system's user name and password. After that clog was cleared everything went back to normal.
macbook, null