Meaningless Drivel is fun!
The moose likes Sockets and Internet Protocols and the fly likes Windows shared printer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Windows shared printer" Watch "Windows shared printer" New topic

Windows shared printer

Daniel Eriksson

Joined: Oct 25, 2004
Posts: 5

I need to connect to a shared network server, list the available printers and print using one of them.

Which technique is the way to go ?

SMB using JCifs, any suggestions ?

Daniel Eriksson

Joined: Oct 25, 2004
Posts: 5
Yet again I answer my own question

But if anyone encounters the same problem, I can recommend the following API's :

Norbert Hranitzky

Java CIFS Client Library

... works like a charm.
Wim Vanni
Ranch Hand

Joined: Apr 06, 2011
Posts: 96

Would love to see how this works. Sadly the first link is dead ..

I agree. Here's the link:
subject: Windows shared printer
It's not a secret anymore!