title: Open print dialog window with different HTML content
body: <p>In order to open a print dialog for the current page we do something like so:</p>
  
  <pre><code>&lt;a href="javascript:window.print()"&gt;Print&lt;/a&gt;
  </code></pre>
  
  <p>How to make a link in the current page that will open the print dialog with different context than the actual page?</p>
  
  <hr>
  
  <p><strong><em>Print dialog box in Chrome:</em></strong>
  <a href="https://i.stack.imgur.com/fd0C8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fd0C8.png" alt="enter image description here"></a></p>