We rearranged the study recently, and moved the printer further away from my wife’s computer. So we bought a 15’ USB cable to replace the shorter one which came with the machine (Cannon ImageClass). Doesn’t work.
Looking around a bit, I see that sometimes long cables don’t work.
[FWIW, yesterday I tried printing something out using that cable and it just stayed hung up in the queue. Then I hooked up the old shorter cable and it printed out without any further action on my part - IOW I didn’t need to resubmit it. Not sure if this sheds any light or not.]
I also concur, a powered USB hub is your best chance. But I suspect the actual problem is the cable and/or the USB port electronics on your computer being not quite adequate at that distance. So what you need to do is, you want two 7.5 foot USB cables with the USB hub at the midpoint. (so a 7.5 foot cable from the hub to your computer, and another 7.5 foot to the printer)
Also, higher quality USB cables have thicker conductors and tend to handle longer lengths better. USB 3 seems to handle longer lengths better as well.
the spec limit of USB 2.0 is 5 meters cable length, and you’re pretty close to the limit. you might just try different cables; when you get into an edge case like this the cable can matter.
You plug one of them into your computer - the other to the printer, and run a network cable between the two (it isn’t actually a network connection, it just uses that kind of cable).
I had good results running one of these about 30 metres, with a webcam on the other end.
We used a 30-foot USB cable like this one without any problem. But we’ve also used regular 15-foot/5-meter USB cables without problem. So I agree with the idea that the OP had a flaky cable.