User Tools

Site Tools


windows:autoit:set_default_printer
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


windows:autoit:set_default_printer [2015/11/19 09:19] (current) – created biggi
Line 1: Line 1:
 +<code - 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
 +</code>
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