Public bug reported:

I realised that evince always starts with some special printer settings
like "duplex no tumble" and input tray = "rear mp tray" for my
EPSON_WP-4525.

It turned out that this was not due to what evince saved in
~/.config/evince/print-settings. Information stored there had been
exactly the settings last used.

Then I remembered that I had tweaked my cups with some lpoptions-
settings by creating printer instances for special purposes. The
commands I had issued had been

  lpoptions -d EPSON_WP-4525/DuplexLang -o Duplex=DuplexNotumble
  lpoptions -d EPSON_WP-4525/ManuelleZufuhr -o Inputslot=RearMPTray

So my ~/.cups/lpotions looked like this:

  Default EPSON_WP-4525
  Dest EPSON_WP-4525/DuplexLang Duplex=DuplexNoTumble
  Dest EPSON_WP-4525/ManuelleZufuhr InputSlot=RearMPTray

(I checked that there was no /etc/cups/lpotions)

So I suspected evince to walk through all the these instances (while
only the basic instance shows up in the printing dialog) and to collect
and combine their settings.

To verify that I created a third instance:

  lpoptions -d EPSON_WP-4525/zzz-normal -o Duplex=none -o
InputSlot=AutoSelect

Though this one did not have to be the last one in the lpoptions file,
it obviously had to be the last one in alphabetic order of instances.
Anyway, this did the trick: Now evince starts with "no duplex" and
automatic paper source.

But at last it seems that evince overwrites the settings last used
(stored in ~/.config/evince/print-settings) by whatever raises from
enumeration of existing instance settings. I tend to call this a bug,
allthough it does only affect people creating printer instances. Maybe
it affects also people with any lpotion entries specifying a default
destination in some unknown manner - I did not test that.

** Affects: evince (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1171175

Title:
  evince starting with undesired print settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1171175/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to