SyntaxFix
Write A Post
Hire A Developer
Questions
Are you sure you can't alter the HTML in the popup window?
If you can, add a <script> tag at the end of the popup's HTML, and call window.print() inside it. Then it won't be called until the HTML has loaded.
<script>
window.print()