I have an HP printer and if I were you I would try the following:-
Switch on printer and let it settle down to get itself sorted out.
When it has settled, open the front drop-down door to reveal the cartridges.
Now remove the mains plug for the printer from the mains socket.
Remove the ink cartridges one at a time and clean the brass contacts on the cartridge and also on the printer itself with a small artists brush dipped in Methylated spirits. Allow them to dry before replacing them in the printer.
When both cartridges have been cleaned and replaced in the printer, replace the mains plug in the socket and close the drop-down door.
Let the printer settle for a minute and then try printing.
Hope this works for you.