<button type="button" onClick="window.location.href='http://mywebsite.com';window.print();return false;">Print</button>
Above works but I want to print first, then have a short delay and then send the user to the specified page.
I tried this without success:
<button type="button" onClick="setTimeout('window.location.href='http://mywebsite.com', 100);window.print();return false;">Print</button>
Try this code, this is the same code you have used, i have just edited it
this is worked for me.