List printer in AD with a VBS?

  • Thread starter Thread starter Stefan 'Birdie' Vogel
  • Start date Start date
S

Stefan 'Birdie' Vogel

Hello,

I'm searching for a way to set the option "List in directory" for all
printers on one printserver.

can anyone help me with this?

Kind regards
Stefan Vogel
 
pick up the Windows Resource Kit

Setprinter.exe is the tool you need. I usually run this remotely but you
can run local as well.

setprinter \\servername 7 dwAction="publish"

setprinter \\servername 7 dwAction="unpublish"

here's the resource kit.
http://www.microsoft.com/downloads/...69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Alan Morris(MSFT) said:
pick up the Windows Resource Kit

Setprinter.exe is the tool you need. I usually run this remotely but you
can run local as well.

setprinter \\servername 7 dwAction="publish"

Thanks a lot, I will try Monday morning.

Regards

--
______________
(_______
__________) t e f a n

http://www.birdies.de - Die Smart cdr Homepage
http://www.iiih.de - Die Welt der Käfer
 
Back
Top