on 01-12-2019 6:34 PM
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
Crystal report print directly without crystal viewer
Hope this will be usefull.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Dell Stinnett-Christy its is helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
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.