Reputation: 101
I am printing my page from IE using javascript print function. The text is way smaller than what it should be.
function BtnPrintClick() {
var printHTML = $('#divPrint').html();
window.innerHTML = "";
window.innerHTML = printHTML;
window.print();
This is my script. Why does it not pick up the font size of the web page? The font is not being resized in any @media print styling. I am using IE9.
Upvotes: 2
Views: 4139
Reputation: 1716
Check the percentage size of the impression while printing ... it might be a stupid thing. But I've already faced something similar.
Upvotes: 0
Reputation: 41
When you print a webpage, Internet Explorer shrinks the content of the webpage to fit the width of your paper. If the webpage is wide, reducing the text size to fit the page can cause the text to be unreadably small
The user solutions proposed by microsoft are:
As a developper, you may look at @media to see if it overwrite the print rules of IE9.
Upvotes: 2