There are basically 2 strategies you can pursue here:
- Digitally sign the applet and get the user to click Run when prompted.
See Signing and Verifying JAR Files for details. - Deploy the applet in a more recent JRE using Java Web Start & use the
PrintService
of the JNLP API to print. Here is a demo. of thePrintService
.