Forum Discussion

DouglasW's avatar
DouglasW
Ideator II
5 years ago
Solved

Technical Documentation - Header & Footer on each page

I am hoping someone may have some help on adding a header and footer that when published to PDF would be on each and every page. I have added the Header and Footer to the schema and can clearly see...
  • angela's avatar
    5 years ago

    No it´s not Prince XML. The print design is solely based on the "Document Style" stylesheet. Aras official samples don´t cover much of the daily common use cases. So you literally have to start from the scratch.

    I don´t want to share my complete stylesheet cause I spend 3 month for perfection. But as far as I see, I used the classic "page" section properties to style the header and footer when printing:

    @page {
    size:A4 portrait;

    @bottom {
      content: "Copyright © PLM Underground" ;
      font-family: 'Lato', sans-serif;
      color: red;
    }

    @bottom-right {
      content: "Page " counter(page) " of " counter(pages);
      font-family: 'Lato', sans-serif;
    }

    }