Quantcast
Channel: Internet Explorer 8, 9, 10, 11 forum
Viewing all articles
Browse latest Browse all 10469

Printing blank lines in IE 8, 9, 10 and 11 differs

$
0
0

We have Credit Reports that are put in Iframe (and hidden fields) and when the users checks which ones they want to print, we take the hidden fields an populate one Iframe to print them all from.

Problem is, IE 8 prints fine, IE 9 removes many of the blank lines that used to be there and IE 10 pretty much removes all blank lines.  IE 11 seems to work ok though.

While IE 8 is being deprecated, IE 9 & 10 are still our majority users and am I trying to find a solution for them.

Is there something other than an iframe I should be using?

Here is the code:

   

for(count=0; count <= intCounter; count++)

    {

       

vartabChecked = $get(printTab[count]);

   

if(tabChecked.checked ==true)

    {

   

varhdnPrintFieldName ="hdnPrintFieldName"+ count;

       

vardoc = document.getElementById(hdnPrintFieldName);

    appendReports = appendReports + doc.value;

    }

    }

   

varprintDoc = appendReports;

    parent.iframeprint.document.open();

    parent.iframeprint.document.write(printDoc);

    parent.iframeprint.document.close();

    parent.iframeprint.focus();

    parent.iframeprint.print();

The report even looks different in the presented iframe (tabbed) in the various IE versions, though sometimes not exactly the same as the printed version in the same IE.

Cliff


Viewing all articles
Browse latest Browse all 10469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>