Archived from groups: microsoft.public.windowsxp.print_fax (More info?)
I have a Brother HL-1440 shared on a RH 7.3 box running Samba 2.2.7. I
would like to install the printer on my Windows machines (all XP) with a
script. I tried this:
That returned 0, so I assumed it was 'successful'. Then I ran this:
Set WshNetwork = CreateObject("WScript.Network" )
WshNetwork.AddWindowsPrinterConnection "\\Homebase\Brother_HL-1440"
WshNetwork.SetDefaultPrinter "\\Homebase\Brother_HL-1440"
I get an error:
"The print driver is unknown."
If I double-click on the printer share through Neighborhood Network, I get
error:
"The server for the printer does not have the correct print driver
installed."
Afterwards, I click on Have Disk and browse to the driver at "C:\Drivers
\hl1440\OEMHL01A.INF" and the printer installs fine.
Is there anyway I can automate this with a script?
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.