Canon Wi-Fi multifunctional used to work but now it just scans without printing


I tried rebooting without use.

On a Ubuntu laptop in the same network, through Wi-Fi, the problem does not exist.

I have read this topic and I tried to follow the steps in there:

$ lpinfo -v
network http
network ipp
network beh
file cups-brf:/
network https
network socket
network lpd
network ipps
file cups-pdf:/
direct hp
network smb
direct hpfax
network dnssd://Canon%20MG4200%20series._ipp._tcp.local/?uuid=00000000-0000-1000-8000-84BA3BB0352F
network ipp://Canon%20MG4200%20series._ipp._tcp.local/

Please tell me which other commands to run and which commands to post the output from.

I have ghostscript-9.53.3-2 installed.

I am afraid to try to uninstall the printer because I wish to have the scanner functional at least.

Thank you!