title: Print a pdf created with jsPDF in all browsers
body: <p>So, I have dynamically created a pdf, and now i want to print it:</p>
  
  <pre><code>var doc = new jsPDF();
  var name = "Doe, John"
  doc.setFontType("normal");
  doc.setFontSize(12);
  doc.text(20,20,'Name: '+ name);
  
  //do something that prints the pdf...
  </code></pre>
  
  <p>So, how do I take this doc variable and print it.  Everywhere else I found uses the url of the pdf.  Do I need to create a url for it first?</p>
  
  <p>So, the solution I am currently going with is to show the pdf in a new tab/window, from which the pdf can be printed.  </p>
  
  <pre><code>window.open(doc.output('datauristring'));
  </code></pre>
  
  <p>Unfortunately, this only works in Chrome. Anyone know how to get it working in IE, Firefox, Safari, etc.?</p>
  
  <p>I still wonder if there is a way to skip this step (of opening the pdf and then requiring another button to be pushed).</p>