If the above method doesn't work, you can try the following alternative method:
the Stop/Reset button down firmly for 5 to 10 seconds . how to reset canon mg2540s
Look at your printer's physical control panel. Find the button (indicated by a triangle inside a circle icon). If the above method doesn't work, you can