Printers are equipped with a metering system that that alerts you when your printer cartridges are running low ink or the ink cartridges are empty. However, the microchip will shut off the printer until the cartridge is replaced. The perfect recommended solution of this problem is to Trick Your Printer Into Thinking It Has Ink installed. To check it out, go through the following points:
Open the top of the printer and slightly remove the cartridge
Vigorously shake the printer cartridges and replace it
See if you can print now
If that didn't work, then remove the cartridge and place some clear Scotch tape over the copper or gold contact points and replace it with the new cartridge