function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Karan SabnaniKaran Sabnani 

Removing footer from the last page of the PDF

Hi Everyone,

I am generating a pdf in which I have put footers on each page but i don't want to show the footer at the last page of the pdf.

We have @page :first which works for the first page but we don't have @page :last in css.

Is there anyway to solve this problem?


Thanks in Advance
Ronan O'Neill 6Ronan O'Neill 6
Hi Karan, 

It looks like this will be able to sort out your problem. I haven't made use of it myself though.

http://www.iterativelogic.com/visualforce-pdf-repeating-headers-and-footers/

Hope that helps,

Ronan