| <<<Back 1 day (to 2019/06/26) | Fwd 1 day (to 2019/06/28) >>> | 20190627 |
Brenkuu | Good morning again gentleman | 07:07.11 |
| I come today in the humble request regarding rotation of pages. | 07:07.30 |
| I've been working on this project to move us away from Adobe Distiller, to Ghostscript for our postscript to PDF conversions | 07:07.56 |
| Is there some way to ensure a page is rotated to the proper direction? | 07:08.15 |
kens | So pdfwrite, that makes a difference to rendering | 07:08.15 |
| define 'proper' | 07:08.22 |
Brenkuu | Ok so I have this PS file | 07:08.28 |
| when it goes through distiller, all the pages come out as expected. | 07:08.49 |
| but then with the same file run through ghostscript, I get some random pages (same pages every time though) which are rotated 90 degrees in the wrong direction | 07:09.27 |
kens | I'm sorry but you aren't being clear enough here. 'as expected' and 'proper' are too vague. Why do you think the pages are the 'wrong' direction ? | 07:10.25 |
| example files are your friend ehre BTW | 07:10.51 |
Brenkuu | From landscape to portrait I mean | 07:28.02 |
| so through distiller, it's landscape, as it should be. | 07:28.15 |
kens | Yeah I'm afraid descriptions aren't relly helpful. Ideally I need to see the PostScript file. | 07:28.35 |
Brenkuu | I understand. I can't provide them at the moment. But can you tell me if there are some parameters I can pass which can affect rotation? | 07:28.49 |
kens | Just because Distiller rotates files (or doesn't) in a given direction doesn't make it right | 07:28.55 |
Brenkuu | Fair point | 07:29.20 |
kens | Well teh most obvious parameter is AutoRotatePages (which only affects the pdfwrite device, despite people continually trying to use it for other devices) | 07:29.31 |
Brenkuu | I think I do use pdfwrite | 07:29.58 |
kens | You do, becuase you are creating PDF files | 07:30.13 |
Brenkuu | yeah I use these atm: -sDEVICE=pdfwrite -dPDFFitPage | 07:30.46 |
| Can you show me where the info about 'AutoRotatePages' is? I looked here but it's not on the page: https://www.ghostscript.com/doc/9.27/Use.htm | 07:43.02 |
kens | Its in VectorDevices.htm | 07:43.17 |
| Because it only appleis to the vector output devices | 07:43.28 |
| https://ghostscript.com/doc/9.27/VectorDevices.htm#PDFWRITE | 07:44.10 |
| The Distiller Parameters table | 07:44.22 |
Brenkuu | thank you for that resource | 07:44.59 |
kens | Since its a Distiller parameter, it is of course documented by Adobe in the DistillerParams documentation | 07:45.03 |
| https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/distillerparameters.pdf | 07:45.31 |
| page 56 of that PDF file | 07:46.21 |
Brenkuu | Thanks Kens | 07:52.07 |
| will continue researching this today | 07:52.13 |
| <<<Back 1 day (to 2019/06/26) | Forward 1 day (to 2019/06/28)>>> | |