Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

converting cyrstal report to pdf

Status
Not open for further replies.

meydz

Programmer
Jun 29, 2003
31
PH
Hi!

Is there anyone who knows to convert crystal report to pdf with a multi-lingual capability?

Any help would be appreciated.
Thanks in advance!

Meydz
 
From Crystal 8.5, you should be able to export the report as Acrobat PDF. Export is the icon with a red arrow descending into a white envelope.

If you already know that and want to know something about 'multi-lingual capability', I can't help and you should have phrased your question better. Always good to say what you've tried before asking for help.

Madawc Williams
East Anglia, Great Britain
 
Thanks Madawc and sorry for that.

I am using C# and supposed to generate reports using crystal in a pdf format and display the report in a web page.
Here's what I've done to convert the crystal report to pdf:
//cr1 is the actual report

DiskFileDestinationOptions diskDestination = new DiskFileDestinationOptions();
cr1.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
cr1.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat;
diskDestination.DiskFileName = "C:\\sample.pdf";
cr1.ExportOptions.DestinationOptions = diskDestination;
cr1.Export();
//below is my code for displaying the report in a web page
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType ="application/pdf";
Response.WriteFile("C:\\sample.pdf";
Response.Flush();
Response.Close();

My question is what should I include/modify in the code to convert the crystal report to other language, like Chinese language, arabic, etc., and export the report to pdf file.

Thanks.
 
what versions crystal report and acrobat reader should I use?

Please help!
Thanks.

Meydz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top