Click here to Skip to main content
15,923,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am in need to automate the some print management functions (deleting drivers , adding new print objects etc) on a failover cluster scenario.In other words , I need to do achieve some functionalites that can be done using the "Failover Cluster manager" console to manage a print spooler service. I want to install new printers for instance via the "Failover cluster manager".

Note that this could not be achieved by using the standard windows API's (AddPrinter()/EnumPrinter() etc) on one of the cluster nodes as this will install the printer locally and not in the cluster.

I explored the Failover Cluster APIs(http://msdn.microsoft.com/en-us/library/windows/desktop/aa369107(v=vs.85).aspx[^]) ,
but I could not find a way to access the data of the installed drivers /print objects etc. using these APIs.

Does anyone know about a way how to do this?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900