Del printer:
cscript "c:\windows\system32\prnmngr.vbs" -d -p "\\host\printername"
Install printer
cscript "c:\windows\system32\prnmngr.vbs" -ac -p "\\host\printername"
Set default printer
cscript "c:\windows\system32\prnmngr.vbs" -t -p "\\host\printername"
other solutions:
use"rundll32 printui.dll,PrintUIEntry" detail see in http://support.microsoft.com/kb/q189105
No comments:
Post a Comment