locked
Marathi data is not displaying RRS feed

  • Question

  • User1407649471 posted

    Hello,

     

    I am cretaing  crystal  report binding from xsd. when i am showing crystalreport viewr i am getting marathi data. after saving crystal report to pdf then in place of marathi data i am getting boxes.

     

     

    Please suggest.

    Friday, January 27, 2012 12:38 AM

Answers

  • User568270790 posted
    hi 
    
    Use Itextsharp its batter then crystal reports 
    
    to convert marathi pdf files 
    http://www.mikesdotnetting.com/Article/81/iTextSharp-Working-with-Fonts
    // set here Marthi fonts and convert to pdf 

    BaseFont bfTimes = BaseFont.CreateFont(BaseFont.TIMES_ROMAN, BaseFont.CP1252, false);

    Font times = new Font(bfTimes, 12, Font.ITALIC, Color.RED);

    
    Its open source 
    
    Let Me know  IF are facing any problem
    thanks
    Ashutosh 
    
    


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 27, 2012 2:12 AM

All replies

  • User522486851 posted

    what do you mean by marathi data?

    when exporting crystal report you may need to bind to your datasource before exporting.

    Friday, January 27, 2012 12:49 AM
  • User1407649471 posted

    Thanks Sankalpa, for your quick reply.

     

     am binding datasorce , also i am able to see the marathi data in crystal reportviewr but after converting to pdf i am getting ascii symbols in pdf.

    Please suggest,

     

    Friday, January 27, 2012 1:42 AM
  • User1196771204 posted

    hi bgahlot,

    Would you please advise what you mean by "marathi data"? Thank you

    Friday, January 27, 2012 1:47 AM
  • User1407649471 posted

    Hello,

     

    Mrathi is regional language.I  downloded font for the language. Still getting the same proble.

     

    Thanks

     

    Friday, January 27, 2012 1:49 AM
  • User568270790 posted

    Hi 

    are you convert crystal report to pdf and this pdf contains the Mrathi fonts 

    Check this articals 

    http://stackoverflow.com/questions/5959718/how-to-save-crystal-report-that-converted-to-pdf-in-asp-net

    http://www.codeproject.com/Articles/14597/Convert-a-Crystal-Report-to-PDF

    http://forums.asp.net/t/1272667.aspx/1

    http://www.codeguru.com/forum/showthread.php?t=408944

    let me know if are facing any problem 

    Thanks

    Ashutosh

    Friday, January 27, 2012 1:58 AM
  • User1407649471 posted

    Hello,

     

    I am able to convert crystal report to pdf, but pdf npt  showing  marathi data proprly(shows ascii characters in place of marathi data,other the marathi data all is showing properly)

     

    Thanks

     

    Friday, January 27, 2012 2:01 AM
  • User568270790 posted
    hi 
    
    Use Itextsharp its batter then crystal reports 
    
    to convert marathi pdf files 
    http://www.mikesdotnetting.com/Article/81/iTextSharp-Working-with-Fonts
    // set here Marthi fonts and convert to pdf 

    BaseFont bfTimes = BaseFont.CreateFont(BaseFont.TIMES_ROMAN, BaseFont.CP1252, false);

    Font times = new Font(bfTimes, 12, Font.ITALIC, Color.RED);

    
    Its open source 
    
    Let Me know  IF are facing any problem
    thanks
    Ashutosh 
    
    


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 27, 2012 2:12 AM