For starters, look into support resources which corresponds to indication your printer from the list of States https://support.hp.com/by-ru/document/c05904501
Then installed the full driver from the control panel of the printer or just the basic print? I recommend setting this to full, it often just shows what could be the problem.
Another point if he's overheating? I have faced such a situation when the printer has blocked vents, for example adding to a stack of paper, and the printer stops printing with the message from the sensor overheating.