Canon Pixma MX310 Driver for OSX Mojave v10.14.5
If you're looking for a driver to work with your old Canon MX310 printer on OSX Mojave (v10.14.5), go to the link below & select OSX Mavericks v10.9 & download/install the "ICA Driver Ver. 3.1.0 (OS X 10.6/10.7/10.8/10.9)"
Then, on your Mac, go to System Preferences/Printers & Scanners/Print or Scan & proceed from there.
MacBook Air 11", macOS 10.14