I have been trying to get printing from an iframe to work cross browser. Iframe content is from an external source (I own the external content). The only way I've gotten the entire contents to be printed is resize(enlargen) the frame for printing, call up the print dialog via print(), and then resize back to it's original size once the printing is done. In this solution, I have to put a settimeout around the print() function, or the print dialog will show before the frame is resized(enlargened). I also have to put a settimeout around resizing back to original size.
It seems like the print is happening before the screen reflow is called, which is why the settimeout would be needed, but wanted to see if this seemed strange to anyone here. -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
