Commit 1152ff59 authored by Daniel STAN's avatar Daniel STAN
Browse files

filter_hp: fix impression livret paysage

parent 701d2123
......@@ -94,7 +94,7 @@ def build_gs_params(opt):
# Imprimer en recto verso avec rotation par côté supérieur ?
# Par défaut, short et portrait => tumble
tumble = (opt['sides'] == 'two-sided-short-edge')
if opt['landscape']:
if opt['landscape'] and opt['booklet'] != 'BOOKLET_MAKER':
tumble = not tumble
params = [
......@@ -106,7 +106,6 @@ def build_gs_params(opt):
'-dMediaPosition=%d' % DEFAULT_BAC,
'-sOutputFile=%stdout%',
'-sstdout=/dev/null',
#'-c', "<</Orientation 3>> setpagedevice",
'-f', opt['filename'],
]
return params
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment