Skip to Content
-1

Print without view

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Jan 13 at 11:01 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Jan 14 at 11:53 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 14 at 02:59 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 15 at 05:21 AM

    Thanks Dell Stinnett-Christy its is helpful

    Add comment
    10|10000 characters needed characters exceeded