Deleting a network printer with kix script

I added a printer on our kix script using $RC AddPrinterConnection.
I had to change the default on the driver on the server from Color to B&W.
Now I want to delete the printer in the script and have it install again so that clients get this change.  How do I do this?
I tried $RC DeletePrinterConnection....and it didn't work.
Using Windows 2003 server and xp pro clients.  I am not a programmer, so would like an "easy" answer.

Thanks!

Annie
Annie333Asked:
Who is Participating?
 
zoofanCommented:
Hello here is a script already written and accepted for removeing and adding a printer that i have used as well

http://www.experts-exchange.com/Programming/Languages/Scripting/Q_22703269.html


zf
0
 
ahoffmannCommented:
rundll32 printui.dll,PrintUIEntry /dl /b "Test Printer"
# see rundll32 printui.dll,PrintUIEntry /?

0
 
Annie333Author Commented:
Is there no RC command, such as AddPrinterConnection, that would remove a printer? Something simple?  ahoffman, can you please tell me what your script is saying or can you give me a link that I can go to which would explain these parameters?

Thanks,

Annie
0
 
ahoffmannCommented:
> .. can you please tell me what your script is saying  .. explain these parameters?
rundll32 printui.dll,PrintUIEntry /?

> Is there no RC command, such as AddPrinterConnection, ..
hey, you bought a modern system where everithing someone imagined can simply be done by click&go, didn' they sell you a mouse too?
*SCNR*
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.