User Tools

Site Tools


windows:autoit:set_default_printer
SetDefaultPrinter.au3
#include <MsgBoxConstants.au3>
Local $sAnswer = InputBox("Set default printer", "Enter the name of the printer you want to be default", "DKTASA06", "", -1, -1, 0, 0)

if $sAnswer <> "" Then
	Run("RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n " & $sAnswer)
EndIf
windows/autoit/set_default_printer.txt · Last modified: 2015/11/19 09:19 by biggi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki