title: Print preview a html table without header and footer of application
body: <p>Hi I have a situation where I want to show a button to user to Suppose like:</p>
  
  <p>"Print" on click this button I want to show print preview to user that is a html table which I want to print. But I do not want header and footer that is using my application to all pages to show in this print preview to user.</p>
  
  <p>So how can I make this possible to printout a html page without header and footer only content part.</p>
  
  <p>Please help me I have tried many solutions for this but did not get worked anymore. I am using php scripting language(Symfony2 framework)</p>
  
  <p>Thanks in advance</p>