Why my report has strange fonts when I export it to PDF file? - crystal-reports

Hi
I have a report which has been created by Crystal Reports 8.5.
When I run my application (vb6) and wanna show the report, every thing is all right but problem begins when I export it to PDF file. The .pdf file has strange fonts and can NOT be read .
I have used "Tahoma" font for displaying text on the report.
What is your solution? Is there any solution?

Maybe your .rpt got corrupted somehow? Try building a new test report from scratch and use the same setup to export it to PDF. If that works, then you'll probably have to rewrite your real report from scratch.

Related

Creating A Custom Excel Report

I should be able to customize excel script reports here:
C:\Users\ [user] \sahi_pro\config\reports\excel\script_report
As explained here: http://sahipro.com/docs/faq/how-to-customize-html-reports.html
When I make changes, they don't apply.
Edit the script_report XSLT Stylesheet
Run a script
Go to logs
Click on the script that's ran. Should see the script report.
Click on the excel icon on the top right.
This should produce the customized excel report.
I tested to see if the html reports could be edited and I can custom html reports anyway I want using this method.
Editing the XSLT Stylesheets seem to be working for the html reports, not excel sheets. To write custom excel reports, I am using the "Sahi Pro - File Manipulation APIs" in my scripts.
http://sahipro.com/docs/sahi-apis/file-apis.html#_writeCSVFile

How to make the same font of the exported PDF file and CR designer in Crystal reports

My report in exported PDF version and in CR designer are not the same. The font in the PDF looks smaller than in the designer and I don't know why. Of course, that makes a big problem for me, because I am getting unused "white space". The problem is shown in the image below:
I am using SAP Crystal Reports 2013. Thanks in advance.
I found this, I needed to create a registry key: HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Export\PDF\ForceLargerFonts
And then to set: ForceLargerFonts to the value dword: 00000001
And it works fine now.

what are different preview report using excel preview and excel preview(using J ExcelApi) in iReports 2.0.2?

i'm still new in Jasper reports.i still confuse what the different preview report using excel preview and excel preview(using J ExcelApi) in iReports 2.0.2.Which is more common that people use?. is there any effect when we generate the report?. Can anybody tell me?
Jasperreports supports multiple export formats (xls, pdf, csv, etc...). After developing a report using iReport, you can generate a report in any of those export formats. The best way to view those reports is using an external appliction that you can map. For example, xls report is tied with Excel and pdf reports are tied with Adobe Reader. The new version of iReport supports generation of these reports using the application itself (preview). However, what happens in the background is the same whether you view it with external viewer or internaly using iReport "preview". Personaly, I prefer to use external viewer. The exported reports are cached in the compilation directory.

smart way to design crystal report

I want to create a crystal report that will match a pdf file. The info in the pdf file is a combination of form fields and instructions layed out in a table format. The crystal report should exactly match the pdf file because I will export the report to pdf later.
is there a smart way of quickly designing the rpt file? like converting the pdf file to an rpt file?
You're better off just building the rpt file from the ground up -- there are no utilities I'm aware of that can covert the PDF to a RPT file.
I agree with LittleBobbyTables in that I don't know of a pdf to Crystal Reports converter so you'll have to build the report on your own from scratch, but you may look into other options instead of Crystal Reports if possible.
Of course it's hard for me to give a good solution since I don't know the drivers behind the decision to use Crystal Reports, but if you are looking to display the data in a web page, Adobe has a pdf to HTML converter here that you may be able to start off with. You put the url to the pdf form and it converts it to HTML or Text. I tried it and thought it did work, it wasn't really close in the look and feel of the original pdf form so you can use it to get you part of the way and then you can wire up the data portion to display your data. Just throwing out another option instead of wedding yourself to Crystal Reports. Hope it helps.

Storing Crystal Reports in XML files?

I was talking to somebody a recently who mentioned it was possible to store reports created using Crystal Reports as XML files.
Upon Googling this, I can't find anything suggesting that this is the case (using data stored in XML in a report, yes, but actually storing the report, the part stored by default as a .rpt file, no.
Am I correct in assuming that there was in fact some sort of misunderstanding between us and it in fact not possible to do this?
It is not possible to store the report template in XMLformat. XML is supported as export format of the "rendered" report only.
For what purpose do you need the report template in XML format. There is a Java reporting solution called Crystal-Clear which can read the Crytsal Reports report template and save it as XML report template. The other way round this does not work. After you created a XML file you cannot open the report with Crystal Reports again. But you can work with the report using Crystal-Clear which is coming with a GUI-designer too.
Use the Crystal Reports SDK to convert the RPT file format to XML.
There's a GitHub project that will convert RPT to XML. The intent of the tool is to use for diffs, so I don't know if there is a XML to RPT converter. Crystal Reports certainly can not take the XML file and open it like a .RPT file.
At least in version 8.5 XML-file is one of the supported export destinations just like PDF, Excel or Word. Seems unlikely they'd have removed the support in later versions.
I just tested in Crystal Reports 10.
Open up the report you want to export, click on export in the file menu, and at least in CR 10, XML is at the very bottom.
Next a screen appears, asking for directory and base file name to save to. According to the Window it uses "Crystal Markup Language" XML Format