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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now