script to install shared printer on server

B

brian

Need help please.

I'm trying to figure out a way of attaching to a shared
pritner on a server by clicking on an icon on my web page.
I've done this already locally, but when the web is
published to the server, the functionality no longer
works.

The hyperlink to the shared printer looks like this:

\\servername\printer_share

How do you do this when the web page is hosted on a win2k
server? Should it be via vb script or other method?

thank you very much
 
S

Steve Easton

I don't think you're going to be able to
do it via a html page, as printer sharing is
a system function.
You could probably do it using an .hta
( html application ) file and Windows Scripting Host
or ActiveX in the hta.
However when a user clicks on a link
to an hta it will open the "confirmation"
panel asking them to verify they want to
open the "possibly dangerous" file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top