 <p>Please, try to use the frame document onready event.</p> <pre><code> printData: function(printId) { $(window.frames[printId].document).ready(function() { window.frames[printId].focus(); window.frames[printId].print(); }); } </code></pre>