• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Warning Message - An Applet Would Like To Print

 
Andrew K.
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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?
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Applets.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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.
 
Elouise Kivineva
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic