Driver communication error regarding ink counters. Fix: This is a firmware/driver mismatch. Download the "MP Driver" specifically, not just the XPS driver. Hold the Stop/Reset button on the printer for 5 seconds to bypass (temporarily).
Many G540 units sold after 2022 do not include a CD. If yours did, do not use it (the drivers are likely outdated).
from the official Canon Support page to unlock features like:
No official Canon driver. Use sudo apt install printer-driver-gutenprint (Ubuntu/Debian) or configure CUPS with Canon G540 - Gutenprint driver.