on 05-05-2009 11:40 PM
I have recently developed a crystal report with version 8.5 in windows-based operation system (windows xp). My client today told me that the report has to be able to print to a network printer - line printer (Tally MT691); otherwise, the crystal report I developed becomes useless. I have no experiences with line printer. Could you please give me some instructions on how to make it happen?
Any help is greatly appreciated. Thanks again.
Hi,
Do you want to print report through code.
boReportDocument.PrintOptions.PrinterName = "NetworkNamePrinterName"
'Send to Printer
boReportDocument.PrintToPrinter(False, 0, 1, 1)
'CrystalReportViewer1.ReportSource = boReportDocument
you can get sample code from [here|https://www.sdn.sap.com/irj/boc/samples]
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a cross post of:
Do not cross post. See the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
Locking this thread as answer is posted at the above thread.
BTW., Shweta, notice the customer is using CR 8.5 and thus can not have the assemblies for .NET and therefore can not use your suggestion.
Ludek
cross post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.