neerajgandhi
MIS
I need to delete the local printer through script,
Tried removeprinterconnection method in wscript.network object, didn't work for local printer, it only works for remote printer or LPT1 mapped to remote printer,
ALso tried to delete each entry of this printer from the registry and the printer still exist and prints,
I need to know the correct registry entry for local(LPT1)
printer and need to delete that through regdelete,
Anyone knows the correct registry entry?
Tried removeprinterconnection method in wscript.network object, didn't work for local printer, it only works for remote printer or LPT1 mapped to remote printer,
ALso tried to delete each entry of this printer from the registry and the printer still exist and prints,
I need to know the correct registry entry for local(LPT1)
printer and need to delete that through regdelete,
Anyone knows the correct registry entry?