Using Chrome Version 22.0.1229.79 m
We provide users with a way of printing the current page from a Javascript menu via:
javascript:window.print();
This works great in IE and FF, but on Chrome, the page hangs for a good 30 seconds before the Print Preview pops up. Interestingly, Ctrl+P or printing from the Chrome menu works instantly (so it’s not printing in general, just bringing up the print preview using Javascript).
Thanks in advance.
It turns out I had a 30 second timeout for an unrelated feature of the website that was blocking the print Javascript from being executed. FF and IE had no problems running both but apparently Chrome’s threading logic prevented it from launching until the other 30 second timeout.
Not completely resolved but this was a red herring… thanks for the help