So I'm assuming it created those window instances before it could apply the onbeforeload event function and onafterprint event functions, or something. close() functions until I added a breakpoint to it, then it worked perfectly. The setTimeout is not just for shits and giggles, it's the only way I found Firefox 42 would hit those functions. W.onbeforeunload = setTimeout(function () ,500) w = window.open(document.getElementById("UB-canvas").src) I adjusted everyone answers till I finally came up with this, maybe it can help someone. ![]() This was all supposed to happen after the user clicked a button inside a jQuery Grid plugin, inside a jQuery-UI dialog along with jQuery-UI dialog extender applied to it. I wanted it to print in another window and afterwards close the window. I had an image inside an img tag, dynamically generated by a jQuery Barcode plugin that I had to print. It is simple and essential for all your printing needs. Print Conductor can print large volumes of PDF files, Microsoft Office files: Word, Excel, Visio, PowerPoint, Publisher, Autodesk AutoCAD, text files, images, and many other file types. Print Conductor is a Windows software that saves time by printing multiple documents at once. I just spent 45 minutes on this "SIMPLE" problem, trying to get it the way I wanted it to operate. Batch print multiple PDF, text, and image files.
0 Comments
Leave a Reply. |