Adding a network printer from the command line (or bat file)
@Echo Off REM Change \\COMPUTER\PRINTER to your printer network adress REM Add printer rundll32 printui.dll,PrintUIEntry /in /n\\COMPUTER\PRINTER REM Set printer as default rundll32 printui.dll,PrintUIEntry /y /n\\COMPUTER\PRINTER