title: Print a rendered web page in a printer using java applet
body: <p>How to print a rendered web page in a printer using customized print dialog (remove <strong>page header, footer,</strong> set margins etc) with java applet? 
  Can't use window.print() since i need to customize page settings before printing.The web page that needs to be printed is well structured for printing using html and css.</p>