title: How To Print Sharpoint List Item. NOT all the list
body: <p>I have a sharepoint list. each time i click on an item the form shows up. I have already customized that form, using Infopath.</p>
  
  <p>What i want is to create a button or something, that wil print that form. </p>
  
  <p>I have used the following but it print many elements except for the form itself..i do not want this.</p>
  
  <pre><code>    onclick="window.print();return false;" /&gt;
  
  
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Print Test&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  
  &lt;style type="text/css" media="print"&gt;
  .printbutton {
    visibility: hidden;
    display: none;
  }
  </code></pre>
  
  <p>i have read many many articles about it but i cannot get it to work.
  what should i do?</p>