[dev-context] wrong paper orientation with pstopdf

Hans Hagen pragma at wxs.nl
Mon Jul 24 17:24:26 CEST 2006

Taco Hoekwater wrote:
> Mojca Miklavec wrote:
>> OK, but without -dAutoRotatePages=/None the conversion is OK. If the
>> orientation would be "hardcoded too deply" I can imagine that printers
>> might experience problems while printing files produced by gnuplot.
>> What's wrong with %%Orientation: Landscape?
> Nothing, but since it is not really a postscript command, just a
> structure comment, so I would expect pstopdf to ignore it.
> The situation is a bit complicated because removing the -dAuto...
> makes other documents fail. You are right for this document,
> but that is only a subset of the potentially wrong files :-(
>> How should I create proper PDF out of that file then?
> By checking the output manually and adjusting that option as neede,
> I fear.
indeed, an option is to change the default behaviour based on some unique preamble line, no fun 


                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl

More information about the dev-context mailing list