Skip to main content

Hello.

By printing a shop order report, we can have an error message saying “there were too many arguments”, and we don’t know what can cause this issue.

This is an isolated error message, here is the full message that we have :
 

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> Datalogics.PDFL.LibraryException: There were too many arguments.: There were too many arguments. Error number: 537329698

   at Datalogics.PDFL.Document.Print(PrintUserParams userParams)

   at Ifs.Application.InfoServicesFramework.FndPDFLibrary.PrintFile(String filename, String printerName, Int32 copies, Int32 pageFrom, Int32 pageTo, String localPrintjobName)

   at Ifs.Application.InfoServicesFramework.DocumentFileHandler.Print(PrintInstance instance, String PrinterName)

   at Ifs.Application.InfoServicesFramework.PrintDialog.PrintReportToPhysicalPrinter(PrintInstance instance)

   at Ifs.Application.InfoServicesFramework.PrintDialog.cmdOk_Execute(Object sender, FndCommandExecuteEventArgs e)

   at Ifs.Fnd.Windows.Forms.FndCommand.OnExecute(Component component)

   at Ifs.Fnd.Windows.Forms.FndCommandButton.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

   --- End of inner exception stack trace ---

 

 

Does someone of you can say what to do to fix this issue? The preview generates no error, but only when we print the report with no preview.

Thanks

Hi @romsar ,

 

Please try to use the Print Agent instead of direct printing. This is the only way we can track down the issue. If you are direct printing, then it's beyond IFS control. It doesn't matter if you use Crystal or IFS standard layouts; we can still configure the print agent and print reports via the Print Agent. Thank you.

 

Best Regards,
Dharmendra


Reply