I fixed the exact same problem moments ago. You need to install MP Navigator EX. (It came with the printer.) It can also be found on Canon's website.
The link is here: http://usa.canon.com/cusa/support/consumer/printers_multifunction/pixma_mp_series/pixma_mp240#DriversAndSoftware
Dear Jmamos I have tried installing the MP Navigator EX but still the same problem exists
the error code is 2,155,0