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

Question about turning a page into pdf

Hi, I was wondering if you can create a pdf from a visual for page that will have the header on each page you print out.  So if I have a visualforce page, I want the header on the top of each page I print out. 





Tryout this code it would help you to get workaround on Header of page.



@media print {

div.header {display:block;}


@media screen {

div.header {display:none;}




For more information you can visit at this link: