<ul dir="auto">
<li>Electron version: 0.37.2</li>
<li>Operating system: windows 7 64 bit</li>
</ul>
<p dir="auto">I am trying to print from my app. When I run window.print() it opens the print menu. Once I click OK it adds it to the queue and it is immediately removed from the queue and prints nothing. When I check the queue Pages is N/A and Size has no information. I found the post about using webContent.print() which requires the pdf.dll but I can't seem to find that in my files or in the electron repository.</p>
<ul dir="auto">
<li>Electron version: 0.37.2</li>
<li>Operating system: Windows 7 64-bit</li>
</ul>
<p dir="auto">I have tried to call <code class="notranslate">mainWindow.webContents.print</code>, which showed the printer dialog but when I choose the printer, it just does nothing. Not even an error.</p>
<p dir="auto">I have tried with multiple printers such as physical and virtual one (like print to XPS/PDF).</p>
<p dir="auto">I suspect its my code, so I tried this <a href="https://github.com/hokein/electron-sample-apps/tree/master/printing">this example</a> as well but I got same result.</p>
<p dir="auto">After that I tested it on another computer (Microsoft surface 4) and still nothing.</p>
<p dir="auto">Then  I run the same code on Mac OS, and it was working ok.</p>
<p dir="auto">So I'm confusing right now and wondering if anybody else have same issue or not...</p>
<p dir="auto">PS: <code class="notranslate">webContents.printToPDF</code> was also okay on windows since I guess has nothing to do with OS printing functionality.</p>