help - enabling printing from applet

adrian (adrian@farabi.com)
Mon, 26 Apr 1999 11:30:51 -0400

Date: Mon, 26 Apr 1999 11:30:51 -0400
From: adrian <adrian@farabi.com>
To: java-security@java.sun.com
Subject: help - enabling printing from applet

--------------A06B50543663C09A87E40512
Content-Type: multipart/alternative; boundary="------------794557FB6C29275083D7041D"
X-Sun-Content-Length: 1602

--------------794557FB6C29275083D7041D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,
I am enabling an existing applet with printing capabilities. It works
fine by signing the applet for IE and Netscape and requesting the
privilege to print. The problem is that I am doing tests now to set the
arranging on page, and I am running the applet in the appletviewer (with
the debug option under VisualCafe 3) .
How can I ask for this specific permission from the appletviewer at
runtime ? I have read about security.checkPrintJobAccess() in the
SecurityManager class, but it says nothing about how to request this
privilege to be enabled ?
Please help me with this.
Thank you.

--------------794557FB6C29275083D7041D
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Hello,
I am enabling an existing applet with printing capabilities. It works fine by signing the applet for IE and Netscape and requesting the privilege to print. The problem is that I am doing tests now to set the arranging on page, and I am running the applet in the appletviewer (with the debug option under VisualCafe 3) .
How can I ask for this specific permission from the appletviewer at runtime ? I have read about security.checkPrintJobAccess() in the SecurityManager class, but it says nothing about how to request  this privilege to be enabled ?
Please help me with this.
Thank you.
 
 
  --------------794557FB6C29275083D7041D-- --------------A06B50543663C09A87E40512 Content-Type: text/x-vcard; charset="us-ascii"; name="adrian.vcf" Content-Description: Card for adrian Content-Disposition: attachment; filename="adrian.vcf" X-Sun-Content-Length: 181 begin:vcard n:Neculau;Adrian x-mozilla-html:FALSE adr:;;;;;; version:2.1 email;internet:aneculau@sprint.ca fn: end:vcard --------------A06B50543663C09A87E40512--