Default Double-Sided Printing Not Working in Okular

Hello everyone,

I am having trouble setting up double-sided (duplex) printing as the default option in Okular, and I was hoping someone here could help me out.

What I Have Done So Far:

1.Printer Configuration via CUPS* :

  • I accessed the CUPS web interface at http://localhost:631/ and configured my printer to use duplex printing by default. I set the Duplex option to DuplexNoTumble (long-edge binding) in the PPD file located at /etc/cups/ppd/myprinter.ppd .
  • After saving the changes, I restarted the CUPS service using:

bash

sudo systemctl restart cups

2.System Settings* :

  • I also checked the system settings for printers in both KDE and GNOME environments to ensure that duplex printing is set as the default. In KDE, I went to “System Settings” > “Printers” > selected my printer > “Configure” > “Options” and set duplex printing to “Long Edge (Standard)”.
  • In GNOME, I followed a similar process through “Settings” > “Printers”.

3.Okular Configuration* :

  • I opened Okular and went to “Settings” > “Configure Okular” > “Printing” and ensured that the option “Use Printer Defaults” is selected.
  • I also tried manually editing the Okular configuration file located at ~/.config/okular/okularpartrc to set DuplexMode=LongEdge , but this did not change the default behavior.
  • I even removed the Okular configuration directory and restarted the application to reset settings:

bash

rm -rf ~/.config/okular
okular

However, duplex printing still does not default to the system settings.

4.Additional Checks* :

  • I verified that there are no environment variables or conflicting configurations that might be overriding the settings.
  • I checked for any updates to Okular and ensured I am using the latest version available.

The Issue:

Despite all these steps, Okular still defaults to single-sided printing when I try to print a document. I have to manually select duplex printing every time, which is quite inconvenient.

What I Am Looking For:

  • Suggestions : If anyone has successfully set up duplex printing as the default in Okular, I would appreciate any tips or steps I might have missed.
  • Configuration Files : If there are other configuration files or settings I should be aware of, please let me know.
  • Bug Reports : Has anyone else encountered this issue? If so, is there a known bug report or workaround?

I am using Okular on a Linux system with KDE Plasma, but I have also tried with GNOME and had the same problem. Any help or guidance would be greatly appreciated.

Thank you in advance for your assistance!