Skip to main content
Legend
October 6, 2020
Question

RH2020 PDF output master pages margin for header and footer

  • October 6, 2020
  • 9 replies
  • 454 views

Hi all,

I am currently testing RH2020, until now my project was created with RH2019 new UI. In 2019, I could perfectly create my PDFs using a master page with header and footer. The page margin defined in the PDF output settings also applied to the master page. Now, in RH2020, this no longer works. The body is within the correct margins, but my header and footer are directly at the outmost position of the page. I tried with my existing master page and also created a new one.

I could not find anything useful in the master page definition section to adjust this, so I did enter the margins manually in the code section. However, I am wondering if there is some more elegant way that works more smoothly. 

Ideas?

Thanks and regards

Karin

    This topic has been closed for replies.

    9 replies

    Legend
    October 6, 2020

    Thanks Peter. This is exactly what I did now.

    Peter Grainge
    Community Expert
    Community Expert
    October 6, 2020

    The fix I have applied is in the master page header I applied a style with an indent. You could also just apply some inline styling to indent it a bit.

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    October 6, 2020

    Book.css seems not to be the issue. I am working on it.

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    October 6, 2020

    Yes Jeff. 🙂

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Legend
    October 6, 2020

    I am working with RH2020.1.54, this should be the latest version. With this, I created the PDFs.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 6, 2020

    @Karin Albrecht - great, just checking because you hadn't mentioned it in the OP.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 6, 2020

    Have you applied the first patch of RH2020 and re-created the PDFs?

    Legend
    October 6, 2020

    Thanks Peter. However, the book.css does not help. I applied it with and without my own css to the master page in case I got it somehow wrong when which css will work, but no changes with regards to header and footer. In my case, they are not "a bit tight" but there is absolutely no space left to the left resp. right border of the page. 

    Peter Grainge
    Community Expert
    Community Expert
    October 6, 2020

    I noticed the header and footer being a bit tight but haven't yet looked at it. 

     

    Book.css does not get added to existing projects. Create a new project and then lift it from there. I am wondering if I need to do that to get a later copy.

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Legend
    October 6, 2020

    One more thing: in the RH2020 tour of Peter Grainge, it is said something about a book.css to be applied to the master pages. I cannot find this css anywhere in my project 😞