The changes described in this article apply to Adobe LiveCycle and AEM forms lines of products.
JCIFS is a library implementing the CIFS protocol in pure java and is licensed under LGPL. The JCIFS versions considered here are 1.2.18 and krb5-1.3.1. The distribution containing the source is at: http://jcifs.samba.org/src/
The LGPL license for this library is here: http://www.gnu.org/licenses/lgpl-2.1.txt
Reasons to use the CIFS print protocol
CIFS protocol enables a computer to share its local printer with remote computers over the network. To print to a remote printer shared on a CIFS server, the clients need the ability to talk to the CIFS server using CIFS protocol. The CIFS print protocol specification is at:
Modifications to the JCIFS library
As the JCIFS library lacks support for the CIFS print protocol, the following modifications have been made. For details on the changes made to the JCIFS library, see The JCIFS library.
Added the following classes to jcifs.smb:
- SmbComOpenPrintFile- used to open a print spool on a shared printer queue
- SmbComOpenPrintFileResponse- response packet received from the server after opening the print spool file
- SmbComWritePrintFile- represents the network packets sent to the server to write to a previously opened print spool file
- SmbComClosePrintFile- a network packet sent to close a print spool file after which printing is assumed to begin