diff --git a/src/onegov/winterthur/app.py b/src/onegov/winterthur/app.py index 0149e9ce4b..44a1970738 100644 --- a/src/onegov/winterthur/app.py +++ b/src/onegov/winterthur/app.py @@ -167,6 +167,11 @@ def get_shift_schedule_image(self) -> BytesIO | None: '-sDEVICE=png16m', f'-sOutputFile={path / "preview.png"}', + # force landscape orientation in postscript + '-c', + '<> setpagedevice', + '-f', + # from pdf str(path / 'input.pdf') ))