%--- standard portrait vs landscape orientation /PORTRAIT { /PH 29.7 cm def /PL 21.0 cm def } BD /LANDSCAPE { PORTRAIT PaperRotate } BD /PaperRotate { PL 0 translate 90 rotate PL PH /PL exch def /PH exch def } BD