hamano / pysmbc

libsmbclient binding for Python
http://pypi.python.org/pypi/pysmbc
GNU General Public License v2.0
28 stars 27 forks source link

Issuing commands / printing #60

Open paulschmeida opened 2 years ago

paulschmeida commented 2 years ago

Hi. I am trying to figure out how to replicate this functionality of smbclient: smbclient -U username \\\\server\\printer_share -c "print file.txt"

I've looked through files but I can't figure out how to do it with this library and I would like to avoid using subprocess for compatibility reasons.