Wifi is an operating system option when you are not connected directly to the internet. It's not a card. It's part of the networkng settings.
My desktop is typically connected to the internet more or less directly. I say more or less because before the advent of ubiquitous portable pcs, desktops were stationary with a port for an internet cable, referred to then as an RS232 cable. I have a special dongle that handles the cable connection ultimately through a usb to my Dell Inspiron.
What I did, that mysteriously, "fixed" the error was unplug the direct connection to the internet, connect to my home router's wifi and print. That is, I connected wirelessly to the internet but used the usb printer plug to print. What makes absolutely no sense to me is why, when connected directly to the internet, I get the printer error using the same usb connection to my printer but when I printed connected by wifi, I did not get the error. Even more puzzling is why, after that successful wifi print, subsequent direct connections are error free. This is why I say it's not a printer specific error. I used the same physical connection to my Epson printer when I was connected directly to the internet and when I was connected to the internet using wifi. No error with wifi.
It makes no sense unless there is something in the o/s wifi software that resets whatever is messed up in the o/s print routines.
Starting more than a year ago, when the error first appeared for me, I've applied every suggestion in this thread to no avail. Nothing fixed the error. I have been error free since this crazy one time dip over to wifi a couple of months ago. I am connected directly now and can even leave my printer on overnight.