How to abort window.print();
<p>I have a page that uses <code>window.print();</code> which is already printed in the source.</p>

<p>But I want for a certain situation via a link trigger, maybe, to nullify/abort this command.
Basically telling the page not to launch print dialog when something is clicked to launch the page.
Maybe with <code>window.close();</code>, but no idea where to put, because the page has already printed <code>window.print();</code></p>

<p>Allow me to clarify:
page 'MYPAGE' has <code>window.print();</code> printed in the source.</p>

<ol>
<li>Link A opens a new page 'MYPAGE', and launches a Print dialog. Expected.</li>
<li>Link B wants to open the same page ('MYPAGE') for different usage, but  do not want the Print dialog.</li>
</ol>

<p>Is it possible with jQuery? </p>
