Also...

To further preserve your sanity, collect the data first, then process.
Load the default printer setting into a var, then scan and change the printers, then check the default printer variable and update the setting.

Windows will automatically set a default printer when the current default is deleted. It's possible that after you change all the printers that the default printer will be pointing to a different device. Capturing it first and checking the captured value will insure that you set the correct device as the default.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D