Hi,
I’m wanting to print a document in a portrait layout but the paper size needs to be manually set. I go to Page Settings and select “Fixed page size >>” and set to a custom paper size to fit a 8.5” x 11” paper size layout.
When I import the report layout into IFS EE and print this error message pops up:
GENREPORTIO:Could not generate report: 'TRANS_ERROR:Failed transforming report data : 'java.lang.NumberFormatException''
Here is the page layout
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/01ffa58e-d0fc-4c75-9202-e89767463037.png)
Detailed Error Message :
Server error messages:
b35364b0-619b-4590-b3a9-c23119e41dee
Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> Ifs.Fnd.FndSystemException: Unexpected error while calling server method PrintReport/ReportFormatRequest ---> Ifs.Fnd.FndServerFaultException: GENREPORTIO:Could not generate report: 'TRANS_ERROR:Failed transforming report data : 'java.lang.NumberFormatException''
at Ifs.Fnd.AccessProvider.FndConnection.ParseErrorHeader(FndBuffer buffer, FndManualDecisionCollection decisions)
at Ifs.Fnd.AccessProvider.FndConnection.UnMarshalResponseHeader(Stream responseStream, FndManualDecisionCollection decisions)
at Ifs.Fnd.AccessProvider.FndConnection.HandleHttpSuccessResult(HttpWebResponse result, FndManualDecisionCollection decisions, String operation, FndBodyType responseBodyType, Object responseBody)
at Ifs.Fnd.AccessProvider.FndConnection.InvokeInternal(Object requestBody, Object responseBody, String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Boolean forcedSync, Boolean integrationGateway)
--- End of inner exception stack trace ---
at Ifs.Fnd.AccessProvider.FndConnection.InvokeInternal(Object requestBody, Object responseBody, String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Boolean forcedSync, Boolean integrationGateway)
at Ifs.Fnd.AccessProvider.FndConnection.InvokeInternal(String intface, String operation, Object requestBody, Object responseBody, FndRequestContext requestContext, Boolean forcedSync, Boolean integrationGateway)
at Ifs.Fnd.AccessProvider.Activity.FndActivityContext.InvokeIntegration(String intface, String operation, Object request, Object response)
at Ifs.Fnd.AccessProvider.Activity.FndActivityCommand.ExecuteNonQuery(Object body)
at Ifs.Application.InfoServices.ServerInterface.Ifs.Application.InfoServices.IPrintReport.ReportFormatRequest(Double resultKey, String formatRequest, String langCode, String& pdfFile, Byteg]& pdf)
at Ifs.Application.InfoServicesFramework.PrintDialog.ReportFormatRequest(PrintInstance instance, String& filename, Bytec]& documentData)
at Ifs.Application.InfoServicesFramework.PrintDialog.PreviewReport(PrintInstance instance)
at Ifs.Application.InfoServicesFramework.PrintDialog.cmdPreview_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)
This error occurs when selecting anything other than default dimensions:
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/06f2daf3-8251-4184-b2d3-c4c368aa06f2.png)