GNU/Linux Ubuntu 22.04 Canon PIXMA MG3020/MG3040/MG3050 Printer Setup – Step by step Guide
The linked Tutorial shows you Step-by-Step How to Install Canon PIXMA MG3020/MG3040/MG3050 Driver for Ubuntu 22.04 Jammy LTS GNU/Linux Desktop.
And the Canon PIXMA MG3020/MG3040/MG3050 Ubuntu Driver Setup It’s quick and easy because it only involves running a few Basic Shell Commands.
Especially relevant: after the Driver Installation to achieve the Printer Setup follow guidance to Add Printer!
Finally, included in the guide you find also instructions to QuickStart with Canon Scanning on Ubuntu.

Canon PIXMA MG3020/MG3040/MG3050 Printer Ubuntu Installation Guide