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
p1_dfsp1_dfs 

How to repeat page header on page breaks in a VisualForce page rendered as a pdf?

Hi,

I have several  Visual Force pages where I am rendering as a pdf. I want to add page breaks and repeat page header (which includes company logo / address, document number, page number etc )  to the pdf document .

I am able to display page number by using  @PAGE rule in the CSS.
I am using <PANELGRID> for the header and <DATATABLE> to display detail information. Is there a way to control the number of lines in a page and repeat some header on all pages.

Is there any way we can control this?

thanks

gireeshzgireeshz

Jill, you beat me to it. Was just going to post the link to that other thread.

 

P1 - so far, there does not seem to be a solution here.   If you have any new ideas using <PANELGRID> and the link please do post them.

 

Otherwise, please click the following link to vote for this to be addressed by Salesforce proper: http://ideas.salesforce.com/article/show/10090686/Support_Page_Headers_and_Footers_in_PDF_Page_Render?skin=null

 

regards