P02 – Carriage Error, there is something wrong with your printer ink cartridge, it could be in wrong position, something blocked the chip (see at the back of cartridge), also P02 error code show sign that your print head is broken or faulty, try to take out both of the cartridge and then put it back.
P07 – Ink Absorber Is Full or Almost Full, you need to reset your printer, here is an article how to reset your canon mp287 printer. Follow the step, you can reset only if your absorber is almost full. You can’t reset if your ink absorber is full, to fix the absorber is full, you need to disassemble your printer and then replace the ink absorber (it’s just a pieces of sponge located in the printer), last time I just deep the sponge into water until the sponge is clean. I found a video but for MP258, the sponge located at the same position.