title: How to use SPSS Syntax to edit Page Attributes and Page Set Up
body: <p>I'm writing a macro in SPSS syntax to generate a large number of reports. I need the macro to export each report (which is in a output file) to a pdf file, but I cannot find any way of editing the output options of a pdf using syntax.</p>
  
  <p>All I need to do is add a heading, footer and change the orientation to landscape. However this would be done in GUI by using Page Attributes and Page Set Up, neither of which seem to have any syntax equivalent? </p>
  
  <p>I'm open minded to solutions in any form - but they must be able to work in an SPSS macro which tends to limit my options!</p>