The approach is wrong. There is no such element as
font
to be used as a child element of
head
. But even of you created a special "print view" page with properly set fonts and it worked, it still would be wrong.
I'll tell you what is the civilized approach. Ideally, you should not even create a special print representation of a string. Instead, you can use CSS with @media elements:
http://www.w3.org/TR/CSS2/media.html[
^],
http://www.w3schools.com/css/css_mediatypes.asp[
^],
https://developer.mozilla.org/en-US/docs/CSS/@media[
^].
This way, you can provide different CSS style of the same elements for different media, such as "print" and "screen":
@media print {
body { font-size: 10pt }
}
@media screen {
body { font-size: 13px }
}
@media screen, print {
body { line-height: 1.2 }
}
Moreover, even content can be different. There are a lot of elements not suitable for print version. For example, it's useless to "click" on a button or a check box in the printed version. You can hide all unwanted elements from the print version through CSS properties, such as "visibility" and/or "display".
See also my past answer:
How to reduce the page size in the code when printing some results through printer ?[
^].
—SA