SharePoint – Print is too small. How to increase print
font?
Now click the “Click here to add content” and then click the
HTML button in the Ribbon to bring up the Edit source code
window;
This Code will add the button and allow you to adjust the
Font Size.
@media Print
{
/*This is to change style of body fonts.*/
BODY {
LINE-HEIGHT: 160%; BACKGROUND: white; FONT-SIZE: 16pt
}
INPUT {
DISPLAY: none
}
/*Now in my case my page was mostly having SPAN and Paragraph tags.
So added below styles to page.*/
/*IMPORTANT is required to override inline styles.*/
DIV SPAN {
LINE-HEIGHT: 24px; FONT-SIZE: 18pt!important
}
DIV P {
LINE-HEIGHT: 24px; FONT-SIZE: 18pt!important
}
/*Below style is to hide title If you want to enable it then remove it.*/
.s4-title {
}
}</style>
<inputid="myPrintButton"onclick="window.print();return false;"type="button"value="Print this page">
This resolved my problem. I was able to get fonts based on
user’s need.
Use the ‘Comments’ form to share your thoughts.