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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -