HP printers have printhead in the Cart,I think.
Is this so for you?
If it is then it cannot be a print head problem.
It is a software problem - Re install software
or a cable problem - reseat cable or get a new one
Or the prgrams generating the image - reinstall