Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Stan
scripts
Commits
1152ff59
Commit
1152ff59
authored
Mar 16, 2016
by
Daniel STAN
Browse files
filter_hp: fix impression livret paysage
parent
701d2123
Changes
1
Hide whitespace changes
Inline
Side-by-side
impression/filter_hp.py
View file @
1152ff59
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment