title: window.print() Print only Text
body: <p>Hi i'm making a web based POS and when printing the ticket I use javascript</p>
  
  <pre><code>window.print()
  </code></pre>
  
  <p>But I have buttons for going back to the main page, ando I dont want those printed on the ticket, Can I print only Text from a Browser Window? If so how can I do it?</p>
  
  <p>Also Im new at this, so if there's a better way to do this I will appreciate commments about how to do it </p>
  
  <p>tx in advance</p>