<h3 dir="auto">Preflight Checklist</h3>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li>
<p dir="auto"><strong>Electron Version:</strong></p>
<ul dir="auto">
<li>
  4.1.0 or 4.1.3 or 5.0.0 -bata7 (x86)
</li>
</ul>
</li>
<li>
<p dir="auto"><strong>Operating System:</strong></p>
<ul dir="auto">
<li>
Windows 10 x64
</li>
</ul>
</li>
<li>
<p dir="auto"><strong>Last Known Working Electron version:</strong>:</p>
<ul dir="auto">
<li>
none
</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>

<p dir="auto"><code class="notranslate">webContents.print({ silent: true }, function(error) { console.log(error) });</code><br>
Don't ask user for print settings, and send page to printer print</p>
<h3 dir="auto">Actual Behavior</h3>

<p dir="auto">First call:<br>
No response, no callback, no results returned</p>
<p dir="auto">Call again:<br>
Callback returns error, console output: <code class="notranslate">false</code></p>
<h3 dir="auto">To Reproduce</h3>



<h3 dir="auto">Screenshots</h3>

<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/37071716/55451272-d1217700-5604-11e9-99af-ed0ec522859f.gif"><img src="https://user-images.githubusercontent.com/37071716/55451272-d1217700-5604-11e9-99af-ed0ec522859f.gif" alt="ezgif-4-5b8904ec32f4" data-animated-image="" style="max-width: 100%;"></a></p>
<h3 dir="auto">Additional Information</h3>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>5.0.4</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Windows 10</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>None</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">webContents.print(option, callback) can work with parameters.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">webContents.print() will work without parameters.<br>
But it doesn't respond when adding parameters, no errors, and no callback. If the window is closed at this time, a "false" callback will be made.</p>
<p dir="auto"><code class="notranslate">printPage.webContents.print() // may work</code></p>
<p dir="auto"><code class="notranslate">printPage.webContents.print({silent: true}, (e) =&gt; console.log(e)) // no respond</code></p>
<p dir="auto">I'm not sure if this is a BUG, and I still want to find a solution. Thank!!!</p>