Some file or registry may be corrupted, follow these steps to remove all old files.
1-Stop the spooler service
-Right-click on Start
-Click on 'Windows Powershell(Admin)'
-Type NET STOP SPOOLER then press enter.
2-Delete all printers.
-Open the file explorer and go to the folder 'C:\Windows\System32\spool' then delete the folder 'Printers'
-Go to the folder 'C:\Windows\System32\spool\drivers' then delete the folder 'W32x86'
3- Remove the printer on the registry
-Right-click on Start
-Click on 'Run'
-Type regedit then press ok
-Go to the folder HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Monitors
-Keep only the folders (Local Port, Standard TCP, USB Monitor) and delete all others
--Go to the folder HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum
-Delete the folder 'LPTENUM'
4-Close the registry editor and reboot.
5-Download the latest version of the driver and reinstall the printer