Develop a Java applet that will accept a string that contains RTF (rich text format) content and silently print this to the client's default printer. The applet does not need any user interface as it will just accept a string and print it without displaying any printer dialog box. This applet will be called from a ColdFusion program. The applet will need to be signed to allow access to print, so please provide detailed instructions for doing this with our SSL sertificate, and also include any code needed to prompt the user to grant permission to this applet.
We will develop a applet that will accept a string that will contain path to RTF content and user have to click on 'OK' button and the content of the file will automatically get printed on default printer.
When user runs applet for the first time program will ask for user name and password and this will be used to authenticate user for using printer.
Note: One thing was not clear in the problem description was 'applet will get a string as input which will contain a RTF text' the problem is whether it will contain a path to RTF or a RTF text itself. We have consider it as string will contain path of RTF.