Windows Printers - enhanced agent check via plugin

Can you please post the completed reworked script. Then i can have a look at the output and the check together.
The server side component should not so hard to modify.