
Adding Printers during Logon on Win9x/ME Machines?
Yes, Though I am using standard Windows 9x/ME drivers..
"HP LaserJet 4"
I've installed them manually then deleted them.
Ran my script then I get the Error. I've checked my spelling and
parameters.
Everything is correct as far as "Microsoft" is concerned. But I get the
errors.
I know this is a problem with WSH and Scripting as I have seen this in the
past but never saw a solution.
If you already have the printer installed you will get "Printer Alread
Exists" error.
I read somewhere that there was a way to do this from the command line?
Anyone have any suggestions?
Quote:
> For Win9x you need the printer driver installed on the
> machine.WshNetwork.AddPrinterConnection will not add the printer driver.I
am
> trying to figure out how to install the drivers using a VBScript. -Boris-
> > Is there any way to automate the addition of network Printers to
Win9x/ME
> > Machines using VBScript?
> > I have found that the both
> > WshNetwork.AddWindowsPrinterConnection
> > &
> > WshNetwork.AddPrinterConnection
> > Give me the same error when trying to install a "known" printer..
> > Error: " The printer driver is unknown."
> > Code: 80070705
> > I have been able to get "Limited" success from the
> > WshNetwork.AddPrinterConnection. I can get it to add a "Ghost" printer
> > which will work, but it will not show up in the users Printers
selection.
> > Any help would be greatly appreciated.. :)
> > Thanks.