well, for w2k and xp drivers, isn't it enough to remove the driver key and according files descriped in:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\driverName
now, what comes to nuking local stuff, remove all that remove code you wrote above.
everything before "delPrinterConnections" should be gone.
as once you issue that, you will not have network printers connected on your system.
then, read from all of the printers that still are in the printers key, the "printer driver" value:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers
against these you can compare the data in the first key (the driver description key) and delete all drivers that are not used anymore.
that simple.
_________________________
!download
KiXnet