dyarosh
asked on
Creating a PDF from Cyrstal Report Automatically
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!
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!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
Sure thing. We use something similar on a page we have. We've disabled exporting and printing on the viewer and use our own code to convert it and manipulate it. That should be enough for you to get started, but if you need more help, don't hesitate to ask. I know crystal stumped me a lot at the beginning.
ASKER