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
Jannu SairamJannu Sairam 

I want to add rows top and buttom of a pdf by using vf pages

SwethaSwetha (Salesforce Developers) 
HI Jannu,
Are you asking about the header and footer in PDF? Can you elaborate more so I can suggest better? Thanks
Jannu SairamJannu Sairam
yes empty header and footer in  pdf
SwethaSwetha (Salesforce Developers) 
@Sairam,

You can customize the code provided at https://help.salesforce.com/s/articleView?id=000385370&type=1 . This example code demonstrates how to include a header or footer element that includes the details such as "Page 1 out of 2" in footer or an additional title to remind the user what page they printed.

Related: 
https://salesforce.stackexchange.com/questions/155291/visualforce-pdf-how-to-display-footer-on-all-pages
https://www.gaurishgoel.com/2018/01/visualforce-page-pdf-header-footer.html

If this information helps, please mark the answer as best. Thank you
Jannu SairamJannu Sairam
User-added image
I want to get like this kind of pdf from vf pages, how to get it?