networking - Adding a network printer via link -


i trying install printer giving users link.

i need make website users able click on hyperlink install network printer them.

the solution have runs vb script , requires activex makes confuses users.

the solution example...

<!doctype html> <html> <script type="text/vbscript"> function addp(pname) msgbox "adding..." set wshnetwork = createobject("wscript.network") wshnetwork.addwindowsprinterconnection pname msgbox "the printer added!" end function </script> </head> <body> <div class="gridcontainer clearfix">   <div>     <a href='#' language="vbscript" onclick="addp('printer location')">add printer</a>   </div> </div> </body> </html> 

the solution works on win 7 32 bit ie8.

is there other solution available this, can use html , javascript solve this.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -