Página 1 de 1

Impressora Desativado Listando na Estação

Enviado: 03 Ago 2016 08:31
por forjabahia
Prezados, bom dia! 
Tenho servidor de impressão do Windows Server e tenho esse scripts que mapeia a impressora na estação

[font="Segoe UI", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif]MAPEAMENTO DE IMPRESSORA
Set WshNetwork = WScript.CreateObject("WScript.Network")
Set WshShell = WScript.CreateObject("WScript.Shell")
'CAMINHO DA IMPRESSORA PELO COMPARTILHAMENTO
'MULTIFUNCIONAL KYOCERA 2035dn
PrinterPath = "\\192.168.0.2\RICOH 201 - BLACK"
WshNetwork.AddWindowsPrinterConnection PrinterPath
'TORNA A IMPRESSORA PADRÃO
WshNetwork.SetDefaultPrinter PrinterPath
'IMPRESSORA LASER HP 2025 Color
PrinterPath = "\\192.168.0.2\HP 400 - COLOR"
WshNetwork.AddWindowsPrinterConnection PrinterPath

Na estação fica exibindo impressora que foram desinstalado no servidor de impressão [/font]


Imagem