Acheron Posted August 19, 2004 Posted August 19, 2004 REG ADD %KEY%\021 /VE /D "Samsung ML-1210 Printer Driver" /fREG ADD %KEY%\021 /V 1 /D "rundll32 printui.dll,PrintUIEntry /ia /m \"Samsung ML-1200 Series\" /h \"Intel\" /v \"Windows 2000 of XP\" /f %systemdrive%\drivers\005_SAMSUNG_PRINTER\SSGS1.INF" /fREG ADD %KEY%\021 /V 2 /D "%systemdrive%\install\printer.vbs" /fPrinter.vbsSet WshShell = WScript.CreateObject ("WScript.Shell")WshShell.Run ("rundll32 printui.dll,PrintUIEntry /in /n\\studeerkamer\samsung /q")WScript.Sleep 5000WshShell.SendKeys "{ENTER}"WScript.QuitA dirty patch for the second one, cause the /q (quiet) function does not work (gives a warning)This should work. If no printer is connected during installation you have to do it later
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now