TonyGroves
Programmer
I have a Perl script on my Linux laptop which mounts under /smb all the available shares on whichever Windows network I'm connected to. It uses smbtree to get the list of shares, but that doesn't distinguish between directories and printers, and I can't figure out any other reasonably simple way to distinguish between a directory and a printer before deciding to mount it, or even after mounting it.
So, the question is: how do you distinguish between a shared directory and a shared printer?
(By the way, I don't know how I got to the top of this forum's MVP list; I'm very much a beginner with Samba!)
So, the question is: how do you distinguish between a shared directory and a shared printer?
(By the way, I don't know how I got to the top of this forum's MVP list; I'm very much a beginner with Samba!)