Title: Page Orientation
Last modified: September 1, 2016

---

# Page Orientation

 *  Resolved [pachterb](https://wordpress.org/support/users/pachterb/)
 * (@pachterb)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/page-orientation/)
 * Very good plugin, has great potential and works well in current state.
 * I need to change page orientation based on the type of page I am going to print
   to PDF. Ideal solution might include orientation in shortcode definition. If 
   there is a way to set a variable in the page template before calling the shortcode
   or add_action to set the orientation.
 * Your support is appreciated!
    Pat…
 * [https://wordpress.org/plugins/dk-pdf/](https://wordpress.org/plugins/dk-pdf/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [dinamiko](https://wordpress.org/support/users/dinamiko/)
 * (@dinamiko)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/page-orientation/#post-7508742)
 * Hi pachterb,
 * right now page orientation is only defined once on PDF creation, maybe this is
   possible with mPDF library but I have never investigated if this is possible 
   and how to do it. I’m going to add this to a possible future improvement.
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Page Orientation’ is closed to new replies.

 * ![](https://ps.w.org/dk-pdf/assets/icon-256x256.png?rev=3396282)
 * [DK PDF - WordPress PDF Generator](https://wordpress.org/plugins/dk-pdf/)
 * [Support Threads](https://wordpress.org/support/plugin/dk-pdf/)
 * [Active Topics](https://wordpress.org/support/plugin/dk-pdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dk-pdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dk-pdf/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [dinamiko](https://wordpress.org/support/users/dinamiko/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/page-orientation/#post-7508742)
 * Status: resolved