Exporting List of Printers
hi,
in 'print management' have ability export port information under print management - print servers - <server name> - ports. if right click , export list, puts list file want.
i wondering if there dos command give same information can export specific directory. reason want because need create .bat file export list automatically @ points in day. cannot use printbrm command export drivers, ports , forms, therefore creating 222mb file.
regards,
jon ditchfield
printer enumeration obtain port name, not ip. since ip included in name can parse name , build address.
use
cscript c:\windows\system32\printing_admin_scripts\en-us\prnmngr.vbs -l -s printserver
prnmngr -l |findstr /i /c:"printer name" /c:port create list of name , port names
prncnfg.vbs can used need specify printer name.
alan morris windows printing team
Windows Server > Print/Fax
Comments
Post a Comment