vsb script to connect non-domain machines to printer server.

  • Thread starter Thread starter John A. Stovall
  • Start date Start date
J

John A. Stovall

I'm trying to write a script for a group of loaner notebooks which are
not on the domain and the user logs in with a local machine user.

I have a script for them to mount their shared drive on our NAS but I
can not get the printers on a print server to share.

I'm using the following:

wshNetwork.AddPrinterConnection john,Prtjohn,,NTnetUser,Pwd

I keep getting for the printer name (which is "John") "The specified
device name is invalid"

I need help!
 
Back
Top