How to Remove Ink Error Message to Use Scan Function on Canon Printer?

I have a Canon Pixma MG510, which comes up with the error message 'the following ink cartridges cannot be recognised' every time I turn it on. However I only need to use the scan function to scan some images onto my laptop. I cannot get rid of the error message,meaning i cant do anytging on the printer, so was wondering if there's a way to remove the message so I can scan, as surely scanning doesn't require ink? Thanks

How to Remove Ink Error Message to Use Scan Function on Canon Printer?