<input type="button" value="Print" onclick="window.print();">
With CSS @media rules, you can control the print format to be different from the screen format. For example, you can suppress background images and navigation bars or choose a completely different color scheme.
yeah i used that.. but the entire form field names and so on get displayed. that is not what i want. i want it to print only what is entered to those fields.
name - rukshila
when print button is clicked what shud be printed is -