[jcifs] Re: smb printers with jcifs
Christopher R.Hertel
crh at ubiqx.mn.org
Sat Jun 15 00:56:12 EST 2002
The message below is from a friend in Germany.
There must be a way to distinguish printers vs. disks, since smbclient can
tell the difference.
$ smbclient -L zathras
Added interface ip=10.0.1.0 bcast=10.0.1.255 nmask=255.255.255.0
Password:
Sharename Type Comment
--------- ---- -------
HOME Disk User Files
D Disk D drive
C Disk C drive
PRINTER$ Disk
HP560C Printer HP Deskjet 560 C Color Printer
IPC$ IPC Remote Inter Process Communication
The above is on my home network, with node Zathras being a W/95 box with a
single printer attached.
Curious. I figure it's worth knowing how it's done.
Chris -)-----
On Fri, Jun 14, 2002 at 04:39:23PM +0200, Michael Schulze wrote:
> Hi Chris,
>
> a guy here at work tries to explore the available printers on a server. I
> pointed him to jCifs and tried to help him but the problem is that with a
> printer share jCifs returns this as directory (attributes=0x11). Do you know
> how to sort out the printers with jCifs ?
>
> thanks
> Michael
--
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the jcifs
mailing list