title: print XML or TXT file from browser with javascript
body: <p>Is there any way for print a XML or TXT file from browser? I have a thermal printer and I want to send one of this format from browser with javascript. Usually, the browser dirty the file and the printer doesn't recognize the format.</p>
  
  <p>Many thanks in advance,</p>