I am running the below script on a domain. Users that do not already have the printer driver installed are prompted with a windows notification/warning about downloading the printer driver. Is there a way to make this seemless so the user is not prompted when the script runs during login?
It seems to only occur when driver is intalled the first time or when it is changed.
' Connecte to the network printer
' e.g. : call AddPrinter ("\\PrintServer\FinanceCopy")
on error resume next
If Err.Number = 0 Then
WriteLog(" Success: Connect to printer: " & strPrinterUNC)
WriteLog(" Failed: Connect to printer: " & strPrinterUNC)
on error goto 0