Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 02, 2012 07:37 PM by RahulKumarGarhewal
Member
108 Points
27 Posts
Mar 30, 2012 08:26 AM|LINK
Hello friends,
i need your help, actually i am having website containing hindi font,
contants are coming from database they are saved in english font and i am converting it to hindi font using style sheet.
all thing is working fine, but the problem is when I am trying to print that page, it shows english font in printed doccument
is there any solution to print same contant which is on browser??
or how to solve this printing problem.??
Thanks.
All-Star
95503 Points
14106 Posts
Mar 30, 2012 09:06 AM|LINK
have you tried by defining print specific CSS - http://www.beansoftware.com/ASP.NET-Tutorials/Printing-Reporting.aspx
and see what happens,...this CSS also should contain english to hindi conversion css...
Thanks,
Mar 30, 2012 10:33 AM|LINK
Hye Friend,
I have tried but not working, may be i am doing something wrong., this is my style sheet..
@font-face { font-family: 'Kruti Dev'; src: url('Kruti-Dev-010.eot'); } @font-face { font-family: 'Kruti Dev'; src: url('Kruti-Dev-010.ttf'); } @media print { .hindi{ font-family: 'Kruti Dev'; } }
and i am also using,
<link href="stylesheet.css" rel="stylesheet" type="text/css" media="print" />
but not happening..
thanks
Apr 02, 2012 07:37 PM|LINK
Hello frineds,
I have solved this problem, actually problem is your web browser's font if you manage to change font of your browser your data will be printed in that font.
RahulKumarGa...
Member
108 Points
27 Posts
Want to print a page containing hindi font...
Mar 30, 2012 08:26 AM|LINK
Hello friends,
i need your help, actually i am having website containing hindi font,
contants are coming from database they are saved in english font and i am converting it to hindi font using style sheet.
all thing is working fine, but the problem is when I am trying to print that page, it shows english font in printed doccument
is there any solution to print same contant which is on browser??
or how to solve this printing problem.??
Thanks.
Please Mark As Answered If you got answer
ramiramilu
All-Star
95503 Points
14106 Posts
Re: Want to print a page containing hindi font...
Mar 30, 2012 09:06 AM|LINK
have you tried by defining print specific CSS - http://www.beansoftware.com/ASP.NET-Tutorials/Printing-Reporting.aspx
and see what happens,...this CSS also should contain english to hindi conversion css...
Thanks,
JumpStart
RahulKumarGa...
Member
108 Points
27 Posts
Re: Want to print a page containing hindi font...
Mar 30, 2012 10:33 AM|LINK
Hye Friend,
I have tried but not working, may be i am doing something wrong., this is my style sheet..
@font-face { font-family: 'Kruti Dev'; src: url('Kruti-Dev-010.eot'); } @font-face { font-family: 'Kruti Dev'; src: url('Kruti-Dev-010.ttf'); } @media print { .hindi{ font-family: 'Kruti Dev'; } }and i am also using,
but not happening..
thanks
Please Mark As Answered If you got answer
RahulKumarGa...
Member
108 Points
27 Posts
Re: Want to print a page containing hindi font...
Apr 02, 2012 07:37 PM|LINK
Hello frineds,
I have solved this problem, actually problem is your web browser's font if you manage to change font of your browser your data will be printed in that font.
thanks
Please Mark As Answered If you got answer