cancel
Showing results for 
Search instead for 
Did you mean: 

Without view printing

0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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

Answers (0)