title: print a document using javascript
body: <p>Hi I need to print a document without buttons.Can anyone please guide me to accomplish this task.</p>
  
  <p>I have a button to print in button click onclick() event I have used window.print() to print those data .But In a print preview It shows the page including those 4 buttons.i do not want those buttons I need only those data.</p>
  
  <p>for more information I have adde the image below
  <img src="https://i.stack.imgur.com/lDXeo.png" alt="my print preview os ubuntu"></p>