Ko tenda hembiapoite sa’ivéta oñemba’apokuévo hese hembiapo porãve hag̃ua. Peteĩ jehaipyre nomoĩporãiramo ne apañuái ha eporanduséramo, roguerekohína ore nepytyvõ rekoha ikatútava ndeykeko @FirefoxSupport Twitter-pe ha avei /r/firefox Reddit-pe.

Eheka Pytyvõha

Emboyke pytyvõha apovai. Ndorojeruremo’ãi ehenói térã eñe’ẽmondóvo pumbyrýpe ha emoherakuãvo marandu nemba’etéva. Emombe’u tembiapo imarãkuaáva ko “Marandu iñañáva” rupive.

Kuaave

Firefox 22.0 doesnt display images in print preview for javascript html

more options

Hi,

I am developing .NET application where i need to generated html from javascript code goes something like this

<script>childWindow=window.open();childWindow.document.write('<html>

HTML Code

    <img src="image.gif"  height="9" width="8">&nbsp; <b><font face="Calibri" size="1" style="letter-spacing: 2">SLOTTED ANGLES&nbsp;      
          </font></B><img src="image.gif"  height="9" width="8"><font face="Calibri" size="1" style="letter-spacing: 2"><b>&nbsp;
          html code
</body>

</html>');
childWindow.location.reload(false);  
</script>

the problem is when the document is generated its showing images perfectly.

But when it comes to printing Firefox doesnt print images.

Images dont even appear in print preview.

Same thing if i do with normal html firefox prints images perfectly.

Please suggest how i can solve the issue as generating html with javascript is must.
Other browsers are printing images absolutely fine.

I m using firefox 22.0

Thanks n Regards
Raj

Hi, I am developing .NET application where i need to generated html from javascript code goes something like this <pre><nowiki><script>childWindow=window.open();childWindow.document.write('<html> HTML Code <img src="image.gif" height="9" width="8">&nbsp; <b><font face="Calibri" size="1" style="letter-spacing: 2">SLOTTED ANGLES&nbsp; </font></B><img src="image.gif" height="9" width="8"><font face="Calibri" size="1" style="letter-spacing: 2"><b>&nbsp; html code </body> </html>'); childWindow.location.reload(false); </script></nowiki></pre> the problem is when the document is generated its showing images perfectly. But when it comes to printing Firefox doesnt print images. Images dont even appear in print preview. Same thing if i do with normal html firefox prints images perfectly. Please suggest how i can solve the issue as generating html with javascript is must.<br /> Other browsers are printing images absolutely fine. I m using firefox 22.0 Thanks n Regards<br /> Raj

Moambuepyre cor-el rupive

Opaite Mbohovái (2)

more options

I'm having trouble understanding your page. Could you possibly post a test case demonstrating the problem and provide a link to it?

more options

By the way, it's a good practice to use

childWindow.document.close();

when you're finished using childWindow.document.write(). Otherwise, Firefox may think the page hasn't finished loading.