Meu notebook esta com problema em mostrar os dispositivos instalados, e tendo a necessidade de trocar o endereço IP de uma impressora nao tinha como fazer devido a este erro.
Assim, encontrei no site da Microsoft Technet o comando prncnfg.vbs (dentre outros) que se encontra no path
C:\Windows\System32\Printing_Admin_Scripts\en-US
Link da Microsoft http://technet.microsoft.com/en-us/library/cc755334(v=ws.10).aspx
Outra forma é utilizar o comando:
RUNDLL32 PRINTUI.DLL,PrintUIEntry /?
RUNDLL32 PRINTUI.DLL,PrintUIEntry /Xg /n “printer“
Set printer as default
RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n “printer“
Set printer comment
RUNDLL32 PRINTUI.DLL,PrintUIEntry /Xs /n “printer” comment “Impressora do departamento financeiro”
Set printer port
RUNDLL32 PRINTUI.DLL,PrintUIEntry /Xs /n “printer” PortName “port:“
Get printer settings
RUNDLL32 PRINTUI.DLL,PrintUIEntry /Xg /n “printer“
Get printer settings saving results in a file
RUNDLL32 PRINTUI.DLL,PrintUIEntry /f “results.txt” /Xg /n “printer“
Set printer settings command usage
RUNDLL32 PRINTUI.DLL,PrintUIEntry /Xs /n “printer” ?
Tags: command line, Configuração, configurando, impressora, linha de comendo, printer, Windows