I am trying to print some post script file from hp-ux.
These files contains post script code.

These files are having some default orientation.
But I want to change the orientation to landscape as below.

If ( default orientation == landscape )
do nothing
change the orientation to landscape

I want to know that what will be the command in post script to impliment this.

how to determin the default orientation of post script file. Because currently I know the orientation by viewing it in GSview. But in future it may not possible to view it in GSview.

Plese reply