How to get Client site Printer Name in asp.net
You can't get the printer name from your server code. It only works in local host because the client and server are the same machine. Even if you could get the printer name there is nothing you can do with it, because your code to print on the client only works on local host too for the exact same reason as getting the client name only works on local host.
Leave client printing to the client, you can't do it from server code.
The Only Solution you have to download then print or use java script
No comments:
Post a Comment