Deleting Printers

  • Thread starter Thread starter Derek Da Silva
  • Start date Start date
D

Derek Da Silva

Guest
Hello Everyone,

I've used a script to map a network printer from an old print server called
Server1 (ie. \\server1\printer) onto the XP workstation. I've recently
created a new print server (Server2) and mapped the network printer (ie.
\\server2\printer) onto the same XP workstation. When I attempt to remove
the old print driver from Server1 using a script the command fails because
Server1 is no longer active on the network. Is there a way to force the
network printer connection to be deleted?

I've tried the following commands:

rundll32 printui.dll PrintUIEntry /dn /n\\server1\printer
removeprinterconnection in a VBS script with the force delete option

It seems none of the aforementioned commands want to work because they are
unable to communicate with the old print server.

I appreciate any suggestions to resolve this issue.

Thank you,
D
 
Re: Deleting Printers

See the replies you received in "scripting.vbscript".
See also here about the merits of cross-posting:
http://www.blakjak.demon.co.uk/mul_crss.htm


"Derek Da Silva" <noreply@hotmail.com> wrote in message
news:62D5F499-475F-437C-98B0-E562C5BBB22F@microsoft.com...
> Hello Everyone,
>
> I've used a script to map a network printer from an old print server
> called Server1 (ie. \\server1\printer) onto the XP workstation. I've
> recently created a new print server (Server2) and mapped the network
> printer (ie. \\server2\printer) onto the same XP workstation. When I
> attempt to remove the old print driver from Server1 using a script the
> command fails because Server1 is no longer active on the network. Is
> there a way to force the network printer connection to be deleted?
>
> I've tried the following commands:
>
> rundll32 printui.dll PrintUIEntry /dn /n\\server1\printer
> removeprinterconnection in a VBS script with the force delete option
>
> It seems none of the aforementioned commands want to work because they are
> unable to communicate with the old print server.
>
> I appreciate any suggestions to resolve this issue.
>
> Thank you,
> D
>
>
>
 
Back
Top