#35650

Hi! I assume you rotate the page layout with
<pd4ml:page.break pageFormat="rotate">

<pd4ml:page.break pageFormat="reset">

To prevent the headers and footers from rotating, you do not need to rotate the page layout, but simply change the page format to landscape. Unfortunately, for the time being this is only possible if you specify explicit dimensions in points. For example, landscape format A4:
<pd4ml:page.break pageFormat="842x595">