הוספת מדפסת רשת בסקריפט
Post date: May 2, 2011 3:26:16 PM
The basic command is: RUNDLL32 PRINTUI.DLL,PrintUIEntry
1) This installs printer quietly
rundll32 printui.dll,PrintUIEntry /in /q /n\\servername\printername
2) This deletes the networked printer from the machine being logged onto, and does so quietly.
rundll32 printui.dll,PrintUIEntry /dn /q /n\\servename\printername
3) This Sets the default printer
rundll32 printui.dll,PrintUIEntry /y /n\\servername\printername