That is called a 'flash code'... older Canon printers show them, to allow you to diagnose what the problem is.
Please count the pattern in the flashes: green how many times, alternating with orange how many times? and Reply, let me know, and I will be able to give you some specifics, hopefully, on what is wrong with the printer... and if we're lucky, some indication as to what to try to fix the problem, if it can be fixed without sending or taking it to a repair shop.
Meanwhile - without knowing the flash code, I cannot tell what's wrong, but it's a likely guess that the printer might be 'broken', and need said trip to a repair shop. Flash codes are not (generally) shown for minor problems or issues like paper being out or the like.
And small wonder, given that the printer is about 7 years old, if it is indeed severely 'broken' in its electronic workings. (7 years for this sort and make of printer, is a good long-ish lifetime, in case you are not sure.)
So let me know the count of flashes of each color in Reply, and I will help and advise you further.