evince starting with undesired print settings

Bug #1171175 reported by Martin Schniewind
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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.

Revision history for this message
Martin Schniewind (5-launchpad-schniewind-it-de) wrote :

evince 3.4.0
Ubuntu 12.04.3
Cups 1.5.3

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evince (Ubuntu):
status: New → Confirmed
Revision history for this message
klinge (rosgnilk) wrote :

it also affects
Ubuntu 16.04
Evince 3.18.2

it used to be possible to change the rigts from "print-settings" to read only but under ubuntu 16.04 evince overwrites the file even if the rights are set to read only.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.