PDF printing

Hello.

I am using the adapter listener com.softwareag.cis.server.adapterlistener.PDFFOPListener to generate PDF.
In NATPAGE I am using the component rowtablearea2. On the FOP page I’m using the cisfo: rowtablearea2 component.

However, when the PDF is generated, from the second page onwards an empty space is displayed in the
top of the page, and the print starts almost in the middle of the page. Can you help me with this problem?

The screens are attached.

Hi Cleyton,

Could you please resend the attachments?

Hi Frederico.

Ok. Here they are.

Cleyton,

Something is going wrong.

I can´t see the attachments files yet.

Check the size of your files.

Hi,

images attached.



Cleyton,

In order to help you, I need to know how your controls are disposed in the fop file, specifically in the layout pane. Could you please send me your FOP file?

Frederico,

Yes I can. The file attached.
C_fop.zip (754 Bytes)

Hi Cleyton,

I´ve taken a look at your FOP page.
You have to control the header height setting up the Cisfo:foppage2 headerheight property.

To solve your issue, follow the items below:

  1. Clean up the Cisfo:header2 paddingbottom and Cisfo:body2 margintop properties;
  2. Change the Cisfo:foppage2 headerheight property to a value as your needs, for instances 1.5cm.

Let me know if it helped you.

I made the changes you said, Frederico. Everything worked very well. Thank you very much.