[jcifs] Printing

Steve Blasdale steve.blasdale at elevon.cc
Thu Mar 6 04:16:52 EST 2003


Back in the middle of 2002 someone asked if printing was available.  I have
tried and also followed the example posted and get the same results showing
that printing is not supported.


jcifs.smb.SmbException: Invalid parameter
	at jcifs.smb.SmbTransport.send(SmbTransport.java:496)
	at jcifs.smb.SmbSession.send(SmbSession.java:107)
	at jcifs.smb.SmbTree.send(SmbTree.java:92)
	at jcifs.smb.SmbFile.send(SmbFile.java:466)
	at jcifs.smb.SmbFile.open(SmbFile.java:551)
	at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:131)
	at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:94)
	at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:64)
	at Put.main(Put.java:11)
Exception in thread "main

I would like to print to an NT printer from a Java Webserver running on UNIX
in plain ASCII text.  Is there a way to do this?

Steve



More information about the jcifs mailing list