Re: Printing from an Oracle Forms Java Applet

From: Kasi Sankaralingam <skasivis_at_us.oracle.com>
Date: 1997/12/22
Message-ID: <67mlm8$334$1_at_inet16.us.oracle.com>#1/1


Hi,

You need to sign the applet and also enable the print prvilige specific to netscape security. It is availabe under netscape targets in developer.netscape.com. let me know if you have further questions.

PS: You need to enable the privilige just befire the printing in your code.

Rgds,

Kasi.

Bill Angel wrote in message <349AC414.7110E5BF_at_cais.com>...
>I am trying to utilize the screen printing function of "Web Enabled"
>Oracle Forms, whose GUI has been implemented as a java applet.
>
>When I run the applet from within the Hotjava Browser, the following
>Security Exception is thrown:
>
>sunw.hotjava.applet.AppletSecurityException: checkgetprintjob
>
> at
>sunw.hotjava.security.CommonSecurity.checkPrintJobAccess(CommonSecurity.jav
 a:572)
>
> at sun.awt.windows.WToolkit.getPrintJob(WToolkit.java:321)
>
>
>When I run the applet from within Netscape Communicator, a similar
>Security Exception
>is thrown:
>
># Security Exception: checkgetprintjob
># Applet exception: security.checkgetprintjob
>netscape.security.AppletSecurityException: security.checkgetprintjob
># UniversalPrintJobAccess privilege not enabled: Printing from within
>Communicator
>java.io.IOException: CreateProcess: vcafe -netscape error=2
>
>
>Is is possible to get around this Security Exception? Would this
>Exception still be thrown if the applet were "signed" and authenticated
>via a certificate?
>
> Thanks,
> --- Bill Angel
Received on Mon Dec 22 1997 - 00:00:00 CET

Original text of this message