Question

PDF version used by IFS reports

  • 4 June 2021
  • 7 replies
  • 274 views

Userlevel 5
Badge +9

Hi,

 

We noticed that the system uses different pdf version for different reports in IFS.

We use report designer reports and we run IFS 10 upd 3

Invoices and Collective Invoices are created as PDF version 1.3
Confirmation of Customer Order is created as PDF version 1.4

Is there a way to adjust the version used so we get version 1.4 used also for invoices?

 

Regards,

Anna


This topic has been closed for comments

7 replies

Userlevel 7
Badge +15

Hi,

All Report Designer Layout PDF are created with PDF version 1.3

If you have PDF/A support enable then it will be PDF version 1.4 but then it will be for all reports and not only for a few specific reports.

Can you check if you have any Report Rules for “Confirmation of Customer Order”?

Regards,

Chanaka

Userlevel 5
Badge +9

Hi,

 

For order confirmation we have report rule set to set specific layout and to insert additional PDF.

For invoices we have also report rule in place but only to set specific layout

Checked our system parameters and we do not have the PDF/A compliant set

 

Regards,

Anna

 

Userlevel 7
Badge +15

Ah ok.

The standard framework which generates the PDF (in your case Invoice Report) use the 3rd party Apache FOP library to generate the PDF. Here the default is PDF version 1.3 and that is a setting in FOP and we can’t change that.

When you do a PDF insert (in your case Order Confirmation) we take the PDF output from FOP and then using another 3rd party library do the merging of the other PDFs. The default in that library is 1.4. 

This is why you get different version.

Yet, as a standard all Report Designer PDFs are PDF version 1.3 unless you do a PDF insert or I believe for watermarks as well.

Hope this helps to clarify the matter.

Regards,

Chanaka 

Userlevel 4
Badge +8

Hi @ChanakaAmarasekara Chanaka

I’m working the same company as Anna, and we just enabled an option to Make Report Designer PDF/A compliant, but users complains they have an error message popping up which says “Stream was not readable” when trying to make a printout.

There was no issue when it was set up in TEST environment, at least for few users. But now after switching on in Prod issues started to happen.

How to debug it? Or what to check in this case?

 

Option changed

 /Wiktor

Userlevel 7
Badge +15

Hi,

Looks like there is an issue when creating the PDf/A compatible PDF and you might be getting a corrupted PDF.

  1. Does the error go away when you switch it off?
  1. Check the server logs for any errors.

Regards,

Chanaka

Userlevel 4
Badge +8

Hi @Cha

Yes, it’s gone when disabled.

What logs to check?

/Wiktor

Userlevel 7
Badge +15

Check the server logs in the application server.