Skip to main content
Legend
Oct 6, 2020 12:37 PM UTC
Question

RH2020 PDF output master pages margin for header and footer

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 is closed to new replies. Start a new post to keep the conversation going.

    10 replies

    Legend
    Oct 6, 2020 1:35 PM UTC

    Thanks Peter. This is exactly what I did now.

    Translate
    Peter Grainge
    Community Expert
    Community Expert
    Oct 6, 2020 1:26 PM UTC

    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.

     

    Translate
    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
    Oct 6, 2020 1:23 PM UTC

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

     

    Translate
    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
    Oct 6, 2020 1:20 PM UTC

    Yes Jeff. 🙂

     

    Translate
    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Legend
    Oct 6, 2020 1:20 PM UTC

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

    Translate
    Jeff_Coatsworth
    Community Expert
    Community Expert
    Oct 6, 2020 1:28 PM UTC

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

    Translate
    Jeff_Coatsworth
    Community Expert
    Community Expert
    Oct 6, 2020 1:13 PM UTC

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

    Translate
    Legend
    Oct 6, 2020 1:04 PM UTC

    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. 

    Translate
    Peter Grainge
    Community Expert
    Community Expert
    Oct 6, 2020 12:55 PM UTC

    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.

     

    Translate
    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Legend
    Oct 6, 2020 12:41 PM UTC

    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 😞

    Translate