Turn off and on the scanner or printer again.
Uninstall the scanner or printer and then add it to Windows 10.
Use the scanner app or OEM app instead.
Reinstall the printer driver.