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

Popular posts from this blog

Microsoft-Windows-CAPI2 Access Denied Event ID 4110 error

AD Replication Failure Between Server 2008 R2 and Server 2003 - LDAP bind failed with error 8341

Win10 - DNS Client Events 8018 - The system failed to register host