on 06-20-2018 5:38 PM
Hi Support,
This is happening one of our customer Environment while printing to a specific printer (Model:"RICOH Aficio SP 3510DN PCL6").
Printing from other application like Word , Notepad to the same printer is working fine and this error happening only printing through Crystal Report.
Vendor have verified the driver of the printer (Driver: RICOH Aficio SP 3510DN PCL6) and confirmed that no issues with that. We have also tried lot of option like re-configuring printer , different Print APIs in Crystal report etc. We could not really find out what is causing the problem.
This is bit critical since the customer is having majority of the printers of this kind. Given the exception message and stack trace below
Would you please help us to trouble shoot the issue further?.
Exception Message : The parameter is incorrect Stack Trace
Stack Trace : System.Drawing.Printing.StandardPrintController.OnStartPrint(PrintDocument document, PrintEventArgs e) at System.Drawing.Printing.PrintController.Print(PrintDocument document) at System.Drawing.Printing.PrintDocument.Print() at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, PrintLayoutSettings layoutSettings, Boolean reformatReportPageSettings) at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, PrintLayoutSettings layoutSettings, Boolean reformatReportPageSettings) at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, Boolean reformatReportPageSettings) at Medtech.PrintingEngine.ReportPrinter.PrintReport(ReportClass objReport, DataTable objRptDataTable, String printerName, PrinterPaperOrientation paperOrientation, String reportTitle, Boolean RptForceA5)
Regards
Arockiya
Hello,
What SP are you using?
On the download WIKI there is SP 23 now available, try it:
https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads
Before though try my printer test app:
https://blogs.sap.com/2015/08/19/printing-crystal-reports-in-net/
See if it works for them, if not try below.
CR uses the .NET Framework to do the printing, Word and other programs use C++ so not a valid test.
I just wrote a Kbase article that removes CR from the picture and uses just the System.Printer API's in the framework.
2659547 - How To: Test a printer using Microsofts .NET Framework to verify there is no issue with the Printer driver
See if it works for you.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Don,
We are live with Service pack 15 currently.
Yes, I have tried with Service Pack 23 still no luck.
I am getting below message when I try to look up for the KPI in https://launchpad.support.sap.com,
You are signed in with a P-user ID. Visitors with an S-user ID will benefit from more tools and enhanced functionality. If you are an SAP customer, contact a user administrator in your company to request such an ID. Your SAP Local Support Center can help you identify your administrators. If you already own an S-user ID, log out now and log in with your S-user ID.
I created this account by myself. Out IT team does not seem to be aware of this and are checking our vendor regarding S-User Account.
Is there any other way that I can get the sample application?
Regards
Arockiya
I have the same issue after moving the program to new server. i have 2 programs calling the printing API. one is working fine, but the one calling from web app is not able to print. i can see the system generate PDF on the folder, however, it bomb out when hitting PrintToPrinter. all the printers on that server are installed as local printer... the program still running on old server...can you help me? thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Don, I have downloaded the Printer test app from below URL and will test that in customer environment.
https://apps.support.sap.com/sap/support/knowledge/public/en/2163438
Regards
Arockiya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And try this test app:
2659547 - How To: Test a printer using Microsofts .NET Framework to verify there is no issue with the Printer driver
https://apps.support.sap.com/sap/support/knowledge/public/en/2659547
It does not use CR components and prints a RTF file, if that fails it's the Printer driver is not Framework aware.
Don
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.