So for you

for i in `export LC_ALL=C; findnmb 2> /dev/null | cut -f 1 -d ' ' |
egrep '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | uniq | sort`; do echo $i; echo
---------------; export LC_ALL=C; smbclient -N -L $i 2> /dev/null | grep
Printer; echo; done

works?

-- 
adding smb printer difficult on large networks
https://launchpad.net/bugs/58403

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to