Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for listing shared network printers. #358

Closed
jonfen opened this issue Oct 28, 2019 · 5 comments
Closed

Documentation for listing shared network printers. #358

jonfen opened this issue Oct 28, 2019 · 5 comments

Comments

@jonfen
Copy link

jonfen commented Oct 28, 2019

Listing the shared files is cut and dry, but how do you list the shared printer names of a given computer?

Also asked here:
althonos/fs.smbfs#5

@althonos
Copy link
Member

This is not something you can do with Pyfilesystem, you only have abstraction over filesystems, so naturally this is not something you can do with fs.smbfs either.

@lurch
Copy link
Contributor

lurch commented Oct 28, 2019

There's a reason this project is called PyFileSystem and not PyPrintSystem 😆

@jonfen
Copy link
Author

jonfen commented Oct 28, 2019

This is not something you can do with Pyfilesystem, you only have abstraction over filesystems, so naturally this is not something you can do with fs.smbfs either.

I was hopeful since it listed out:

  • ADMIN$
  • C$
  • PRINT

But PRINT didn't have everything I needed. I am looking for an MIT license package that provides a list of printers, similar to this GPL package that can list files AND printers:

hamano/pysmbc#38

@jonfen jonfen closed this as completed Oct 28, 2019
@lurch
Copy link
Contributor

lurch commented Oct 28, 2019

Maybe https://pypi.org/search/?q=samba will prove useful? 🤷‍♂️

@jonfen
Copy link
Author

jonfen commented Oct 28, 2019

Maybe https://pypi.org/search/?q=samba will prove useful?

That and other keywords are how I found fs.smbfs, I will keep going down the list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants