problem in printing fonts
Posted
by user1400
on Stack Overflow
See other posts from Stack Overflow
or by user1400
Published on 2010-04-20T06:20:09Z
Indexed on
2010/04/20
6:23 UTC
Read the original article
Hit count: 295
hello
i have a application on php that i show a report in the table , i want to print this page i can see my page fine in print preview , but when i send thuis page to printer ,the fonts are small and diffrent fonts that i set in css file
this is my css file
@page {
size: A4 landscape;
margin-top:2cm;
margin-bottom:1cm;
margin-left:1cm;
margin-right:1cm;
}
table.print{
text-align:right;
border:#999 1px solid;
}
table.print td.e1{
border-top:#999 1px solid;
padding:5px 2px;
text-align: right;
font-size: 20pt;
font-family:"stencil";
}
table.print td.e2{
border-top:#999 1px solid;
padding:5px 2px;
text-align: right;
font-size: 120%;
font-family:"tahoma";
}
thanks
© Stack Overflow or respective owner