on 01-07-2019 8:02 AM
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
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
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.