I have a problem that needs some StackOverflow help.
I am trying to print to a printer from a web page using C#.Net and WCF. The WCF Service is on the web server. I have a local application which has a method:
void print(string content);
I need to call this function from the server, is there any way to call this function on the client without setting up a service on the client/printing machine.
One solution I thought of, was the have the client machine constantly call a shouldPrint() function (say every 2-3 seconds) that returns a string with the content to print (if there is any). But this would have scalability issues, since 5 machines calling the function every 2 seconds is a bit much.
Is there a better solution than anybody knows of? Some kind of server-to-server event listener?
Thanks in advance.