Jump to content

Recommended Posts

Posted

This is the code ive got to map a printer through a web page. . .

 

Printers

 

 

Function AddPrinter

dim oNet

Set oNet = CreateObject("Wscript.Network")

oNet.AddWindowsPrinterConnection "\\serverName\Roc-ITOffice-HPColour3500"

Set oNet = Nothing

End Function

Roc-ITOffice-HPColour3500

 

 

 

It will work fine on my PC but other users just get the "error on page" message when clicking on the link.

The page is only held on a shared drive on my PC at the moment.

Is this something to do with it or have i missed something else out?

 

Thanks.

Posted

Could it be that they dont have the stuff to use vbscript locally?

Maybe you have visual studio installed and they dont or something?

Posted
If you are using 2003 as a print server then just use the inbuilt IPP website which alows you to view queues and add printers.
Posted
@ChrisH: IIRC 2000 does that too.

 

Not your 2000 server though :wink: j/k :D

 

Does for 40 minutes at a time (or a day without a backup tape in!)

Posted

well like ric and chris said, windows already has this built in, but if you want to run these scripts, im sure u already know this, but u have to run them through IIS... also paged saved as ASP, is yr machine part of the domain aswell... so that the access right apply....

 

u dont have to have VB installed on the local machine, u just need IIS running where the files are located and the server will process the page

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...