We have developed an application in
VB.Net and Crystal Report 9.0.
To print a particular crystal report, we have used code similar to the sample code given below:
Dim oReportDocument As CrystalDecisions.CrystalReports.Engine.ReportDocum ent
oReportDocument = New CrystalDecisions.CrystalReports.Engine.ReportDocum ent
oReportDocument .Load("c:\test.rpt")
oReportDocument .PrintToPrinter(NoOfCopies, False, 0, 0)
The report is printed without any problem on "Network printers" but it does not print on a local printer. Strangely, it gives the success message that file has printed successfully.
Any inputs to solve this problem will be highly appreciated.
Thanks in advance.
Pratyush Shukla
Technical Manager
R Systems India