HP printer error 0xc19a0003 (printhead)

I haven’t encountered this particular error but have encountered an annoying “expired certificate” error with a different HP printer that is about 10 years old:

There seem to be bugs in the printer operating systems that cause these (latent?) errors. It is worth checking for a software update for your printer in case that addresses your problem. Unfortunately this did not work for me.