on 03-20-2009 8:52 PM
How I can directly print a CR 2008 report without showing or using the CrystalReportViewer control in my ASP.net page?
Please I need to print an invoice report but I don't want my application to show up the CrystalReportViewer control before printing the invoice.
Please is it passable? How I can accomplish this? Can I have some examples (Source Code)?
I'm using CR 2008 (12), VS 2008 and VB.NET 2008. The Crystal reports are not embedded in my application and I'm binding a dataset to my reports using ReportDocument Object.
Thanks.
You may also want to consult the CR 2008 help file:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/e09207de-f67a-2b10-4b90-ef2ea... [original link is broken]
and samples:
https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe
https://smpdl.sap-ag.de/~sapidp/012002523100006252722008E/csharp_win_smpl.exe
https://smpdl.sap-ag.de/~sapidp/012002523100006252712008E/csharp_web_smpl.exe
https://smpdl.sap-ag.de/~sapidp/012002523100006252812008E/net_web_smpl.exe
As well as these resources:
http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Walkthroughs.pdf
Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can print the reports with out viewing it by using
crReportDocument.PrintToPrinter(1, true, 1, 1);
Sincerely,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.