Have you restarted your Mac lately?
If a simple reboot of your Mac doesn’t fix things, see if the problem still happens in safe mode.
How to use safe mode on your Mac - Apple Support
Safe mode will often correct weird software behavior by forcing the OS to do disk repair, clear caches and other housekeeping and temporarily disables third-party mods. When you're in safe boot, the machine won’t be at its best performance, especially with graphics, but that's expected.
Does the same thing happen while in Safe mode?
You can exit safe mode by restarting your Mac normally.
I believe the Pixma printer is AirPrint compatible. You should explore the option.
Print wirelessly from your Mac to your printer - Apple Support
Also, please see: Canon Pixma MG3250 Problem in Ventura - Apple Community
Lastly, you can try resetting the printing system:
Reset the printing system on your Mac to solve a problem - Apple Support