Printcluster scripting

G

Guest

We have a cluster with several hundreds of printqueues. I need to retrieve
printqueue-information from that server. Due to the amount of queues most of
the thirdparty tools get stuck. All the VBS scripts don't work, because its a
cluster.
Questions:
a) How can I enumerate printqueue information from a clusterserver
b) Why can't I script this stuff?
c) Scripting also doens't seem to work under W2003-Clusters (regarding
printers). Is that possible?
Thanks
André
 
A

Alan Morris\(MSFT\)

a) use the tools from the server 2003 resource kit
http://www.microsoft.com/downloads/...69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

b) WMI service does not support virtual resource names. When using the
prn*.vbs scripts in system32 you'll see ports, drivers, and printers added
to the hosting node.

c) You cannot script using the WMI print provider. If you script to the
spooler API specifically this should work.


--
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.
 
G

Guest

Thanks for your response. What I'm looking for is a tool/script to enumerate
the printqueues from the print-cluster. I couldn't find a tool in the reskit
that allows me to do this. The printriverinfo is probably closest, but it
gives me only the information about the printerdriver not the queues.

Have you got maybe a link to a sample script that uses the spooler API?

Thanks
André
 
G

Guest

Hi Nik
Thanks for your response. Although I like Hyena Exporter tools. That one
didn't work for us, because of the number of printqueues.
Cheers
André
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top