[Bug 58403] Re: adding smb printer difficult on large networks
Patrice Vetsel
ubuntu at kagou.fr
Wed Oct 18 15:33:01 UTC 2006
@Till
i suggest :
for i in `export LC_ALL=C; findsmb 2> /dev/null | egrep '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | tr -s " " | cut -f2 -d ' ' | uniq | sort`; do echo $i; echo ---------------; export LC_ALL=C; smbclient -N -L $i 2> /dev/null | grep Printer; echo; done
result :
PATRICE
---------------
HP 1120C A3 Printer
SATORI
---------------
print$ Disk Printer Drivers
SECRETAIRE
---------------
EPSON5700 Printer
Satori is the notebook where i execute command
--
adding smb printer difficult on large networks
https://launchpad.net/bugs/58403
More information about the desktop-bugs
mailing list