cancel
Showing results for 
Search instead for 
Did you mean: 

The parameter is incorrect error on Printing to specific Printer

Former Member
0 Kudos

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

View Entire Topic
0 Kudos

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

DellSC
Active Contributor
0 Kudos

Hi Don,

I just went to the Kbase article you mentioned, and I don't see anything that's attached to download.

-Dell

0 Kudos

Try refreshing, I did confirm it is attached now, first time I did not click the upload button and had to run to a meeting...

Former Member
0 Kudos

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

0 Kudos

Use Google to find the KBA unless you have a support contract.

Don