Monday, November 8, 2010

Connecting printer using batch file on windows

 I'm thinking if how can i remotely install printer using the command prompt
 upon searching it over the google and found the answer. I've created a very very simple batch file that will connect to remote printer sharing.

@echo off
RunDll32.EXE printui.dll,PrintUIEntry /in /n \\ip-of-printer\<shared printer name>

I've done it on WindowsXP maybe it should work also on Windows2000 also but I'm not sure on lower Windows98,etc..

No comments:

Post a Comment

If you have any suggestion or clarification you send it via on this form.