@Echo Off
REM Asennetaan verkkotulostin "\\OsoiteTaiNimi\brother HL-5140"
Echo Asennetaan verkkotulostin "\\OsoiteTaiNimi\brother HL-5140"
REM Add printer
rundll32 printui.dll,PrintUIEntry /in /n"\\OsoiteTaiNimi\brother HL-5140"
REM Asetetaan oletustulostimeksi
Echo Asetetaan oletustulostimeksi
rundll32 printui.dll,PrintUIEntry /y /n"\\OsoiteTaiNimi\brother HL-5140"