To set default printers, I use the AddPrinterConnection/SetDefaultPrinter commands for the specific group or user. This creates the connection no problem, all is good.

What I want to do now though is actually determine if the primary print server is up. If not, automatically set the default printer to the secondary print server that is in standby.


1. Check to see if PrtServe1 is up
2. IF it is up - set it as the default print server and map the printers
3. IF it is down - use PrtServe2 as the default and map the printers

We try to make as much as possible invisible to the user.

Is this possible with kix?