Install Network Printer Via Web Application (html)
Solution 1:
Opening local locations - whether on the filesystem or in the network - has become awfully difficult due to security reasons. I have yet to find a method that does this in Firefox for myself as a developer (with full access to the browser) so I can add direct links to my Web development IDE while browsing my web apps in debug mode.
I would recommend to detect the user's operating system (XP/2000/Vista/7/Whatever), display the network address in question big and fat in the center of the screen:
\printserv\printername
and then display customized step-by-step installation instructions:
- Click the "Start" button.
- Click "Run...."
- Copy and paste the address above into the field.
- Click "OK"
etc.
Solution 2:
The problem is that installing a printer is a "system" kind of activity probably requiring administrator access (it may be easy for you, but maybe not for others!). Now you're planning to run this operation through a browser!
Please consider this: If it were possible to run arbitrary administrative commands through your browsers, the Russian Mafia would already own all of your machines. Microsoft has punched enough holes in security that many, many Windows PCs are hacked, but it's still not quite as bad as the hole you would like to use.
A browser is a program, a way to look at pages on the 'net. It's not an administrative command interface for your PC.
Yet.
There is some trickery you can do with JavaScript in IE that will give you access to a lot of the underlying system. But whenever I post code, people yell at me. I'm not sure if it will do your printer installation for you, but if you insist, then try to get that code from somebody else. I honestly don't have it handy and would have to go digging deeply for it.
Post a Comment for "Install Network Printer Via Web Application (html)"