crystal report arabic fonts with asp.net - asp.net

I create website displays Crystal Reports build with asp.net v4
When running the Report Display works and appears correctly but when you print or export to pdf file
Shows the formation of the Arabic words and the words stick together there is a single font without this problem is # Arial Unicode MS
But inappropriate Is there another Font or other things to resolve this problem thankful for your help.

For your data fields in crystal reports, right click the field and select format object.
Format your text to be displayed by selecting options like Can Grow, Keep text together.

Related

Arabic Fonts Disconnected in PDF file Using Pentaho 5.3

We are using Pentaho 5.3 and we are trying to generate arabic report.
We installed all required fonts and stored in DB. From DB i am reading and printing in report. From preview it is coming correct and if we export to excel also coming correct. If we generate PDF Arabic letters are disconnected like below. We downloaded the adobe multi language support and tried getting the same space letters disconnected. Is there any setting in pentaho side to set?
There is some kind of workaround, not perfect but it did a job for me.
Master report - set complex-text = true
set Encoding to UTF-8
all labels, text boxes and other text containing controls must have alignment set to left or right - center won't do (report is crashing if so) (!?)
As you said, use font that supports Arabic (Arial or so)

SSRS report export to PDF, EXCEL and MS-Word format issue

my report has no header and footer. my report shows show data according to country wise means grouping done on country code. i set a page break at end on the group as a result each group data is coming in new page. everything is working fine the problem is
when i click on export to pdf button on toolbar then data export to pdf but data looks very ugly when i open the pdf.
first of all there was heading at the top of report which was not at the same place when i open the pdf...header shows very below. the reason i just do not understand. lots of black space shown in report in pdf file but when report render in webpage then it looks ok. the main things is the way report render and shown in web page the same way data is not shown in pdf after exporting. why it occur i just could not figure it....so guide me what i need to do extra things as a result data should looks same in web page and in pdf file.
when i export data to ms-word format then file was created but could not open.
when i export data to excel then excel file shown data fine but all groups comes in different sheet and another problem i see that some time big text truncated.
so these are the problem i faced after exporting report to various type of file format. please anyone who faced this problem and solved it share the info with me. thanks
I'm guessing some of your layout issues are because you have overlapping objects which will render differently depending on how you export them. I would try removing any overlapping objects / rectangles and seeing if that clears up your rendering issues.

Formatting text in Crystal Reports

I need users to be able to enter text in a webform with some basic formatting options and then generate a report showing the formatted text.
The support for HTML is horrible and entering a simple bulletlist doesn't even show properly in the report.
Right now i'm using a textarea with tinyMCE but that's because i don't know what else to use.
Is there a known best-practice for showing formatted text in a Crystal Report?
Edit
I just need to show a report with a bunch of text and icons. Users need to be able to save it to PDF. I doesn't even have to be Crystal Reports but it's what i have been using and worked so far. Until i needed to show formatted text.
I wish for another solution that comes with a designer and let's me bind against a DataSet.
The solution is to convert the HTML to RTF. RTF support in CR is much better than it is for HTML. This way users can still use the tinyMCE editor and even paste Word formatted HTML.
The way i convert the HTML to RTF if using an XSL stylesheet. Basically you load the HTML as an XML document and let the XSL translate it to RTF. This way you also have a lot of freedom over the way your text will appear since you can tweak the XSL.
I used this article to achieve that, the article's attachment includes the .XSL.

Crystal Reports VS 2008 Different Wrapping Behavior

I have a text box which is 7.5" wide and I set Can Grow. Inside the textbox I have placed a TEXT database field. I set the field to use the RTF format. When I export the report to PDF on the developer machine I am able to get the word wrapping where it should be (after the finagling with the right margin). However, when I export the report on the server, I get word wrapping about an inch sooner than on the development machine.
So here is some more information: the PDF of the report is generated by an ASP.NET application on both the development machine (from within VS 2008) and the server; I am using the Crystal Reports VS 2008 runtime.
I have tried a few ideas so far:
I found out that Wordpad does not save the page margins into the RTF document. It always uses the last used settings for the page margins which is 1.25" L-R and 1" T-B.
I tried editing the RTF source and adding the appropiate page margins: \margl720\margr720\margt720\margb720 which sets all margins to 720 twips (0.5").
I tried setting the Wordpad defaults for the page margins to 0.5". This is different for each user though. I have the Application Pool for the ASP.NET application running as a specific user. I tried setting it under that user and no change. Is it possible that the Crystal Report is being generated under a different user? Or that Crystal Reports always uses a specific user for this information?
After the settings on the server had no effect, I set the margins on the development machine back to the default and re-ran the report. This causes the report to have the same problem as on the server. So it has to be something with the Wordpad page margins.
So the question is: how do I get these settings set for the server? Or how can I figure out under which user the Crystal Report is being generated?
It turns out it had to do with the printer drive as Paul suggested. To fix the issue I changed the report to use No Printer. This did not solve the weird wrapping of the RTF by Crystal Reports. To fix that I made the text box that the field was in wider than the page. I had to find how far off the page by trial and error.

Crystal Report in ASP.NET - display image

I am using a Crystal Report on my website to dynamically build a PDF file for download. This is working great. However, now I want to add an image to the report. When I go to Insert - Picture, browse to my image file, and click OK nothing happens, which leads me to believe that I'm adding it incorrectly. How can I do this? Also, does the image need to exist on my web server or is it imbedded in the report?
So you're adding the picture to the report through the Crystal Reports designer?
Possibly the picture is in an unsupported format? Try saving it into another format and add it again, might just work!
As far as I'm aware, the image will be embedded into the report.

Resources