Rpi and printer freezes during print

My situation most closely resembles the problem solved in this thread:

As a result, I have ordered a replacement power supply and a new USB cable. I plan to test both, and it’s always useful to have a few extra cables on hand.

I will get back here when i have tested it.