Skip to Content

Without view printing

I want to direct print on printer without viewing then print.

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

1 Answer

  • Best Answer
    Jan 22 at 02:43 PM

    What SDK are you using?

    CR for VS is the only supported SDK in VS, unless you use Java.

    For CR for VS go here:

    https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

    On that page there is a printer test app.

    Problem with your code is you are using the Viewer to print, sample shows how to set the printer properties and then print without the viewer.

    Don

    Add comment
    10|10000 characters needed characters exceeded