i am trying to add a network printer with a script. i can do it with a batch file but i am trying to use autoit.
here is the dos command:
rundll32 printui.dll,PrintUIEntry /ga /c\\%computer% /n\\%printer%
_RunDos("rundll32 printui.dll,PrintUIEntry /ga /c\\" & $inputComputer "/n\\" & $inputPrinter)
here is the dos command:
rundll32 printui.dll,PrintUIEntry /ga /c\\%computer% /n\\%printer%