Commit a0ca4a17 authored by Gabriel Detraz's avatar Gabriel Detraz

Supprime le kludge bac, tudor | elle a gagné un cerveau

parent dcd9ecd6
...@@ -483,19 +483,6 @@ class impression(object): ...@@ -483,19 +483,6 @@ class impression(object):
# Toujours resize (pour éviter que l'imprimante ne deadlock) # Toujours resize (pour éviter que l'imprimante ne deadlock)
options += ['-o', 'fit-to-page'] options += ['-o', 'fit-to-page']
# Quelle alimentation papier utiliser ?
options.append('-o')
if self._settings['papier'].value == 'A3':
options.append('InputSlot=Tray1')
elif self._settings['livret'].value:
options.append('InputSlot=Tray2')
else: # A4, dans Tray3 et Tray4
## On utilise en priorité le Tray 4 (plus gros)
if not self.low_tray(4) or self.low_tray(3):
options.append('InputSlot=Tray4')
else:
options.append('InputSlot=Tray3')
if not self._settings['couleur'].value: if not self._settings['couleur'].value:
options += ['-o', 'HPColorAsGray=True'] options += ['-o', 'HPColorAsGray=True']
......
Markdown is supported
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