Canon printers Error P22 or P,2,2 is a scanner error.
Power off the printer
unplung the power cord
Wait 5 minutes
Plug in the power cord
Switch on the printer
If the printer is still under warranty, contact the Canon support.
The scanner unit or the logic board is defective.