eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 

Your Online Guide » Guide to Technology » IT Information Technology

How To Enable Java Applet Printing In Opera
by Sarah, Sar

Although most browsers are happy to allow both signed and unsigned Java applets to queue print jobs, this behaviour is explicitly blocked by the standard settings in Opera.  Although there is an argument to be made in terms of security for this, modern Java applets run in a sandbox, which means they are relatively safe to use, and Opera is the only popular browser to prevent Java applets printing by default.  As Java will also ask the user if they wish permit printing (sometimes several times, depending on how the applet is coded), it can be desirable to override this feature of Opera.  However, there is no obvious way to do this through the browser itself.

Start by making sure that you have closed any Opera browser windows you may already have open.  You will now need to manually open and edit the "Opera.policy" file - obviously, any alterations you make to this file are made at your risk.  On a standard Windows installation, the file can be found in: c:program filesoperaclassesopera.policy.  Before editing this file, ensure you have make a backup copy - this means that if you edit the wrong part of the file, or enter information incorrectly, you can go back to a working copy of the file.

Open the file in a text editor such as Notepad, and find the line that says: grant {.  Just underneath, add the following text:

permission java.lang.RuntimePermission "queuePrintJob";

Now close the file, and re-start Opera.  Any Java applet that needs to print material to the printer will now have the privileges to do so.

Sarah has sinced written about articles on various topics from Lose Weight, Vacation Rentals and Lose Weight. Sarah Currigan co-developed the website http://www.worksheetgenius.com, a free website full of printable worksheets, puzzles and activities that can be differentiated. Sarah's top article generates over 74000 views. Bookmark Sarah to your Favourites.
EditorialToday Guide to Technology has 3 sub sections. Such as Technology, Increase Adsense Revenue and Information & Technology. With over 20,000 authors and writers, we are a well known online resource and editorial services site in United Kingdom, Canada & America . Here, we cover all the major topics from self help guide to A Guide to Business, Guide to Finance, Ideas for Marketing, Legal Guide, Lettre De Motivation, Guide to Insurance, Guide to Health, Guide to Medical, Military Service, Guide to Women, Pet Guide, Politics and Policy , Guide to Technology, The Travel Guide, Information on Cars, Entertainment Guide, Family Guide to, Hobbies and Interests, Quality Home Improvement, Arts & Humanities and many more.
About Editorial Today | Contact Us | Terms of Use | Submit an Article | Our Authors