Quantcast
Channel: Ghostscript.NET
Viewing all articles
Browse latest Browse all 393

New Post: Force output to portrait (like a printer device would)

$
0
0
Greetings,

We're converting PDFs to TIFF images for the purposes of fax delivery and looking for best way to essentially behave like a printer -and- orient ALL pages to portrait output. We've read through the many examples of -dAutoRotatePages=/xxx but none of the combinations seem to work using Ghostscript.NET. We noticed an update regarding page rotation and have tried that too (running on latest 1.2).

Ultimately, any params/changes we've made seem to have no effect. Landscape pages do not rotate...

Suggestions?

Thanks.

*** some additional info ***

Added switches to working system: ("-c" seems to cause exception)
switches.Add("-dAutoRotatePages=/None");
switches.Add("-c");
switches.Add("<</Orientation 0>> setpagedevice");
Exception:
"An error occured when call to 'gsapi_init_with_args' is made: -100"

Viewing all articles
Browse latest Browse all 393

Trending Articles