# How to change orientation of PDF with FOP to Landscape in Natural for AJAX

**URL:** <https://techcommunity.softwareag.com/t/how-to-change-orientation-of-pdf-with-fop-to-landscape-in-natural-for-ajax/207154>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Natural-for-AJAX\
**Created:** [February 5, 2020, 1:54pm UTC](https://techcommunity.softwareag.com/t/how-to-change-orientation-of-pdf-with-fop-to-landscape-in-natural-for-ajax/207154 "2020-02-05T13:54:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erik\_San](https://avatars.discourse-cdn.com/v4/letter/e/ac91a4/32.png) [@Erik\_San](https://techcommunity.softwareag.com/u/Erik_San)\
**Post date:** [February 5, 2020, 1:54pm UTC](https://techcommunity.softwareag.com/t/how-to-change-orientation-of-pdf-with-fop-to-landscape-in-natural-for-ajax/207154/1 "2020-02-05T13:54:35Z")

</div>

How to change orientation of PDF with FOP to Landscape in Natural for AJAX ?

Thank You !!

Erik San

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [February 5, 2020, 9:45pm UTC](https://techcommunity.softwareag.com/t/how-to-change-orientation-of-pdf-with-fop-to-landscape-in-natural-for-ajax/207154/2 "2020-02-05T21:45:27Z")

</div>

Hi Erik,

If you are using the cisfo:\* controls set, you can easily exchange the pageheight and pagewidth values in the cisfo:foppage2 tag:

Portrait:

\<cisfo:foppage2 pageheight=“29.7cm” pagewidth=“21cm” …

Landscape:  
\<cisfo:foppage2 pageheight=“21cm” pagewidth=“29.7cm” …

Does this work for you?

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![Erik\_San](https://avatars.discourse-cdn.com/v4/letter/e/ac91a4/32.png) [@Erik\_San](https://techcommunity.softwareag.com/u/Erik_San)\
**Post date:** [February 7, 2020, 8:55am UTC](https://techcommunity.softwareag.com/t/how-to-change-orientation-of-pdf-with-fop-to-landscape-in-natural-for-ajax/207154/3 "2020-02-07T08:55:32Z")

</div>

Thank you Christine !!

I made the changes and It worked well

Best Regards!!  
Erik

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:44pm UTC](https://techcommunity.softwareag.com/t/how-to-change-orientation-of-pdf-with-fop-to-landscape-in-natural-for-ajax/207154/4 "2021-04-02T15:44:11Z")

</div>


