cancel
Showing results for 
Search instead for 
Did you mean: 

Print without view

0 Kudos

I want to direct print on printer without view print. I have applied this

RPTfrmCashReport.CrystalReportViewer1.ReportSource = CashReceipt
RPTfrmCashReport.CrystalReportViewer1.SelectionFormula = "{Invoice_Master.Invoice_no} = '" & LblInvoiceno.Text & "'" Dim report As New CrystalDecisions.CrystalReports.Engine.ReportDocument

Accepted Solutions (1)

Accepted Solutions (1)

muttepawar-2009
Active Participant
0 Kudos

Answers (3)

Answers (3)

0 Kudos

Thanks Dell Stinnett-Christy its is helpful

DellSC
Active Contributor
0 Kudos

That's code for the old RDC component that came with Crystal XI and earlier. It's no longer supported. For the version you have, look here for information: Printing Reports in .NET

-Dell

0 Kudos

I am using sap crystal report visual studio 2017 version but you have advice me this older crystal version I am using latest version 2017

Use this

Dim objAppl As New CRAXDRT.Application
Dim objReport As CRAXDRT.Report objReport = objAppl.OpenReport("\12346.rpt")
objReport.PrintOut(True, 1)

Error is Type CRAXDRT.Application is not define