Question: how to change a printer from idle?
Answer: Unplug the printer from the computer.
Go to Devices > Printers and Scanners.
Select the printer you intend to remove > click on Remove device.
Plug the printer back, and Windows should add it back again, and install the driver as well.
The reinstallation will restore Printer to online status.