Hi all, I am trying to write a pre-filter to insert heading & footing to the postscript file. How do I determine whether the page is landscape or portrait? Thanks, Kaedekai