title: tinymce editor and its text not printing in print
body: <p>i want to print a page with tinymce editor and its text.  </p>
  
  <p>here is my code..  </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  tinyMceEditor("StaffResponsibility,Encourager,Bonus");
  function printPage(printpage1, printpage2)
  {
  var headstr = "&lt;html&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;&lt;body&gt;";
  var footstr = "&lt;/body&gt;";
  var newstr1 = document.getElementById(printpage1).innerHTML;
  var newstr2 = document.getElementById(printpage2).innerHTML;
  var oldstr = document.body.innerHTML;
  document.body.innerHTML = headstr+newstr1+newstr2+footstr;
  window.print();
  document.body.innerHTML = oldstr;
  location.reload();
  return false;
  }
  &lt;/script&gt;  
  
  &lt;div style="float: right"&gt;&lt;a href="javascript:void(0)" onclick="printPage('pnlMainHeader','div_print');"&gt;&lt;img src="&lt;?=$this-&gt;baseUrl('/images/icons/small/print.png')?&gt;" title="Print" alt="Print" /&gt;&lt;/a&gt;&lt;/div&gt;
  &lt;div id="div_print"&gt;
  &lt;?=$this-&gt;form-&gt;StaffResponsibility?&gt;
  &lt;div class="clear10"&gt;&lt;/div&gt;
  &lt;?=$this-&gt;form-&gt;Encourager?&gt;
  &lt;div class="clear10"&gt;&lt;/div&gt;
  &lt;?=$this-&gt;form-&gt;Bonus?&gt;
  &lt;div class="clear10"&gt;&lt;/div&gt;
  &lt;/div&gt;  
  </code></pre>
  
  <p>when i click the print icon i should print tinymce editor with text.but here i am not getting editors and its text..  </p>
  
  <p>regards<br>
  uday</p>