title: How do I print from Electron app directly to a particular printer?
body: <p>I am using the following code in my render process and its working fine.</p>
  
  <pre><code>function printDocument() {
       window.print();
  }
  </code></pre>
  
  <p>But  I would like to print directly to a particular printer to be set programetically. I also want to set the paper size manually.</p>
  
  <p>I also want a list of available printers in the system.</p>
  
  <p>Are there any printing API in electron or node that I can use?</p>
  
  <p>I would like something like printDocument in c#</p>
  
  <p>Thank you in advance. </p>