Often a reason for this is a problem with the USB connection to the printer. it can be down to the cable, or the actual main board. The data isn't sent to the printer all in one go, so if the signal to it drops out, then the printer sits there trying to process the next part of the job, but...