Hello Mahesh,
Thank you for appreciating my work.
You can very well pass the same parameters from Java(Swing) application .
Honestly,I have not tried Exporting CR to PDF ;but I can surely suggest that you can try Calling Crystal Report using an EXE method,descibed on my web - page : http://home.attbi.com/~pooja.mohan/files/execalling.html inorder to export your report to a PDF format.
Here is an extract from the Crystal Decision's website which you might want to go through :
Crystal Reports 8.5 allows exporting to PDF. Exporting to PDF in Crystal Reports 8 and lower is not supported. Crystal Reports 8 and higher allows exporting to RTF.
Exporting to PDF or RTF in Crystal Reports 8.5 retains the best WYSIWYG (What-you-see-is-what-you-get) format of the original report.
Exporting to PDF and RTF in Crystal Reports 8.5 support many features that other exporting formats cannot.
For information on ALL the formats that Crystal Reports has exporting functionality to, download the applicable document from our website at:
http://support.crystaldecisions.com/docs
· For Crystal Reports version 7, search for : SCR7ExportLimitations.zip
· For Crystal Reports version 8, search for : SCR8_ExportLimitations.zip
· For Crystal Reports version 8.5, search for : cr85_exportlimitations.zip
These documents also list all supported and unsupported exporting features in Crystal Reports 7, 8, and 8.5.
NOTE: ======
This export DLL is designed to work with Adobe Acrobat 4.05 or later.
Pooja M.,
http://home.attbi.com/~pooja.mohan