Creating a PDF from Cyrstal Report Automatically
Posted on 2012-09-13
I have a simple report that requires special formatting that will be very easy to do in Crystal Reports. However, what I need my user to do with the report is Fax it using our fax service. So what I need to do is to generate the report based on criteria gathered from another system and then fax the report automatically. The fax information is passed to the program when the report is generated. I would like to be able to do this without having to display the report to the user and having them "Save" or "Exit" the report to trigger the faxing but if I have to I can live with it. So basically here is what I am asking:
1. Can I create a PDF file using a Crystal Report without displaying the report to the user;
2. If I have to display the report, is there a way to disable features of Crystal such as Exporting, Saving, Printing? Can I add a Link or Button to the "screen" to initiate the faxing which is not included as part of the report so when the report is converted to a PDF it is not included?
I already have the code I need for communicating with our Fax Service. I just need the PDF file generated. The application is a web app using ASP.NET (VS 2010 C#).
Any help is appreciated!