Windows : how to add a network printer using command line
If you want to add a network printer named « my_printer » to the network printers server named « my_printers_server », here’s the magical command line
rundll32 printui.dll,PrintUIEntry /in /q /n\\my_printers_server\my_printer