Memorise

Archive for May 28th, 2009

Add Printer .bat

If RUNDLL32 just won’t do the job: Sometimes we need to do just alittle more than RUNDLL32 is capable of, like installing a TCP/IP printer port. In that case, consider buying yourself a copy of the Windows 2000 Server/Windows Server 2003 Resource Kit and use PRNADMIN.DLL and the accompanying sample scripts written in VBScript. My […]

Scripting Printer in Windows

in command prompt type: rundll32 printui.dll,PrintUIEntry /? i.e C:\Documents and Settings\Administrator>rundll32 printui.dll,PrintUIEntry /? this will show all the usable parameters, as below. PrintUI is the command to search. can be used on batch file and in login script. Usage: rundll32 printui.dll,PrintUIEntry [options] [@commandfile] /a[file] binary file name /b[name] base printer name /c[name] unc machine name […]