1) Power up the printer, if wired unplug it's USB cable from PC.
2) Go to Settings>Apps>Apps and Features to find and Uninstall any printer software.
3) Use one of these methods to remove all of the old printer drivers:
https://www.tenforums.com/tutorials/101274-unin...
https://helpdeskgeek.com/how-to/remove-uninstal...
4) Now type Control Panel in Start Search, open CP, choose Icon View. In Control Panel open Devices and Printers, right click printer to delete Printer and any scanner or fax of the same name. Restart PC.
5) Go to the printer model’s Support Downloads webpage to download and install the latest full software package. Now is also the time to check for any newer printer firmware to install which matters a lot.
6) Extract Printer software, right click Setup file to Run as Administrator. Follow the setup screens closely as you install the software. For USB it should prompt when to plug in the printer.
Older software may need to be installed in Compatibility Mode to run correctly:
https://www.windowscentral.com/how-install-non-...
https://www.windowscentral.com/how-install-olde...
If you have further problems reply back with results of each step.
Once it's installed and you've run a test print, then scanned it to see that it opens on the desktop, open the Printer software and go into its Settings to set the scan-to file location you prefer, also the email app you want opened for Scan to Email, if applicable.