Hey Sagarp,
This is really crazy. Well, ManagementObject will only work for the server side when you do like this. The Client printers are not accessible through this way.
To Nishithraj,
Actually the problem is, you only have html and Javascript in the browser to work with the client. Because of security measures implimented in most of the browsers, you cant have access to devices directly.
There is no interface that invokes this. If there is a way, many of the sites would have been doing that.
Yes you are right, ActiveX / browser Addins are not good to work with. Its just because, no one will install your plugin to work with your site, if it is unavoidable. That means, you will be losing lots of your visitors.
Rather I recommend to go with Normal window.Print()
You might also use Silverlight or client end objects, but these are also not capable to invoke print, if the browser settings is modified with Full Trust to them. (And it totally dependent on the User)
:)
www.abhisheksur.com
Nishithraj, if this helps please login to Mark As Answer. | Alert Moderator