Before deleting the printer, you must disconnect the USB cable between the printer and the computer host, and restart the computer.
Do not perform any printing operations after restarting the computer.
Then follow the steps below to delete a printer:
Open the "Control Panel" and click on the "Devices and Printers" option.
Select Microsoft XPS Document Writer and click "Print server properties" at the top
In the pop-up window, select "Drivers", which lists the installed printers, select the printer you want to delete, and then click the "Remove" button.
Then follow the prompts given by the system, step by step, and you can delete a printer.
Finally restart the computer.