Header and footer overlaps with Ultimate PDF

I am using Ultimate PDF component to generate pdf using URL. The content of the page are overlapping with the footer/header big time. Tried using(below method) but no use. Can someone please help 

CustomMarginSize

Hi, friend. 

I faced this same issue with UPDF, so as another dev friends.

I recommend you to use the SimpleReports component. It worked for me.


Best regards

Satish Kumar wrote:

I am using Ultimate PDF component to generate pdf using URL. The content of the page are overlapping with the footer/header big time. Tried using(below method) but no use. Can someone please help 

CustomMarginSize

 Hi Satish and Lenon,

Can you try css pagebreak in media print.

 

@media print {

  footer {page-break-after: always;}

}

 

Hope this helps.


Thanks

AD

Lenon Manhães wrote:

Hi, friend. 

I faced this same issue with UPDF, so as another dev friends.

I recommend you to use the SimpleReports component. It worked for me.


Best regards

 Can you please suggest any component that will generate PDF with Reactive Web Application.

 

AD wrote:

Satish Kumar wrote:

I am using Ultimate PDF component to generate pdf using URL. The content of the page are overlapping with the footer/header big time. Tried using(below method) but no use. Can someone please help 

CustomMarginSize

 Hi Satish and Lenon,

Can you try css pagebreak in media print.

 

@media print {

  footer {page-break-after: always;}

}

 

Hope this helps.


Thanks

AD

 Hello, AD ,

I tried it but it does not work.


Thank you, Satish

 

I managed it with dirty CSS and media query but if the plugin has something with Header and Footer would have been great, with well documented. I understand but we do have complicated PDF sometime.