This week's book giveaway is in the Functional programming forum.
We're giving away four copies of A Functional Approach to Java: Augmenting Object-Oriented Java Code with Functional Principles and have Ben Weidig on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
Bartenders:
  • Piet Souris
  • Mikalai Zaikin

Warning Message - An Applet Would Like To Print

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I support a web application at work. In this application, I have an applet that prints a report to a local printer. Some people are getting a warning message from Java: "An Applet Would Like To Print. Is This OK?". However, some people are not getting this message.
Do you know how can I turn the message off? I looked at the "Internet Options" in IE 5.5 and I couldn't find an option to turn this off. Any suggestions?
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to Applets.
 
Saloon Keeper
Posts: 26891
192
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're even getting that message then I suspect that your applet isn't in Java, it's in J++. I'm pretty sure the Java sandbox doesn't permit unsigned applets to print.
You may have a can of worms there, since neither Sun nor Microsoft is going to give you good support on J++, expecially if this applet's using a lot of classes from the com.microsoft package to tap into Windows GDI instead of using AWT. You may either have to rewrite the applet or use Microsoft's .NET conversion tool.
 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've written an JApplet that prints and I get the same message when I run it with either Navigator or Explorer under W98/2000. I don't know how to turn it off but I certainly didn't write it in J++.
It's not signed either.
 
She still doesn't approve of my superhero lifestyle. Or this shameless plug:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic