nduguyettu
asked on
CrystalDecisions.CrystalReports.Engine.InternalException: Print Engine not opened
I developed a system which Exports Crystal Reports properly on the development machine. On clicking the Export button on the Testing Server I get the above error.
Both the Development machine and the Testing Server are connected to a Network Printer.
How can I solve the problem?
Nduguyettu
Both the Development machine and the Testing Server are connected to a Network Printer.
How can I solve the problem?
Nduguyettu
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim Rpt As rptGenTransactions = New rptGenTransactions
Dim DiskOpts As CrystalDecisions.Shared.DiskFileDestinationOptions = New CrystalDecisions.Shared.DiskFileDestinationOptions
Rpt.ExportOptions.ExportDestinationType = CrystalDecisions.[Shared].ExportDestinationType.DiskFile
Rpt.ExportOptions.ExportFormatType = CrystalDecisions.[Shared].ExportFormatType.PortableDocFormat
DiskOpts.DiskFileName = "c:\Reports\Output.pdf"
Rpt.SetDataSource(DS)
Rpt.ExportOptions.DestinationOptions = DiskOpts
Rpt.Export()
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Nduguyettu