Hello,
I am using the follwing (from Microsoft KB 189105)to add a printer to a remote machine. This works fine however it takes quite a long time to copy of the driver files to the remtote machine which is on a different subnet. How can I modify the script to use the driver files on the remote machine rather than copying them over? What is the syntax to map to %windir% on a remote machine?
- Thanks for your time
rundll32 printui.dll,PrintUIEntry /ia /c\\server /m "AGFA-AccuSet v52.3" /h "Intel" /v "Windows 2000" /f %windir%\inf\ntprint.inf
rundll32 printui.dll,PrintUIEntry /if /b "Test Printer" /c\\SERVER /f "%windir%\inf\ntprint.inf" /r "lpt1:" /m "AGFA-AccuSet v52.3"
I am using the follwing (from Microsoft KB 189105)to add a printer to a remote machine. This works fine however it takes quite a long time to copy of the driver files to the remtote machine which is on a different subnet. How can I modify the script to use the driver files on the remote machine rather than copying them over? What is the syntax to map to %windir% on a remote machine?
- Thanks for your time
rundll32 printui.dll,PrintUIEntry /ia /c\\server /m "AGFA-AccuSet v52.3" /h "Intel" /v "Windows 2000" /f %windir%\inf\ntprint.inf
rundll32 printui.dll,PrintUIEntry /if /b "Test Printer" /c\\SERVER /f "%windir%\inf\ntprint.inf" /r "lpt1:" /m "AGFA-AccuSet v52.3"