Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IE 11 and FF 38 issue printing from iFrame over 1 page in length

I'm experiencing an issue when printing pages containing multiple iFrames, when the contents of the iFrame are longer than the printed page, it doesn't display properly.

Here is a super boiled down version of what I'm seeing. Open this link, hit print preview: http://ringdev.com/code/inner.html You should see 7 pages of lorem ipsum fill.

Next open this link in IE 10, 11, or FF 38 and hit print preview: http://ringdev.com/code/outer.html You can see only the 1st page is printed. You can see the iFrame run off the bottom of the page, but it doesn't continue on to page 2 or beyond.

Interestingly, Chrome has no problems with this and prints perfectly fine. Unfortunately, the organization only supports IE and Firefox.

Anyone ever run into this before, or have any ideas with how to resolve it?

like image 309
ThatRickGuy Avatar asked Jun 05 '15 21:06

ThatRickGuy


1 Answers

I would look for a windows update that could be your problem. There is a security update for CVE-2017-8529 that will break the printing of iFrame pages. KB4022725 is one such update.

Not only do you want to see if the update is installed, but also check the registry for the following registry keys:

`SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_ENABLE_PRINT_INFO_DISCLOSURE_FIX\iexplore.exe

SOFTWARE\WOW6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_ENABLE_PRINT_INFO_DISCLOSURE_FIX\iexplore.exe`

Make sure they are disabled.

Here is where you can find the information from Microsoft on the issues this updated and iFrames have in relation to each other:

support.microsoft.com

like image 155
Dustin Nicholas Avatar answered Nov 19 '22 17:11

Dustin Nicholas