[okular] [Bug 373133] 16.12.0 Okular duplex printing on but no duplex printing done

Michael Weghorn bugzilla_noreply at kde.org
Wed Jul 19 12:39:50 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=373133

--- Comment #12 from Michael Weghorn <m.weghorn at posteo.de> ---
(In reply to Robby Engelmann from comment #10)
> The very file existed here, but was empty. I removed it anyway and still,
> printing is done with duplex no matter whether "None" or "Long Side" is set
> in okular printing dialog

Thank you very much for testing.

Is the behaviour for you right now exactly the opposite as it was when you
initially opened the bug report? As far as I understand your first comment, all
pages were printed on single pages back then and are now always printed duplex,
no matter what value is set in Okular's print dialog for that option. Did I
understand that correctly?


The following two things might help in further narrowing down the issue:

1) Provide information from CUPS's log file:

* increase log level by setting Directive 'LogLevel debug' in CUPS's config
file '/etc/cups/cupsd.conf'
* restart CUPS, e.g. by running 'sudo systemctl restart cups'
* try printing from Okular again, setting the respective options in the print
dialog
  * It would be particularly helpful if you could do this once for every
available option for duplex printing ("None", "Long Side", "Short Side")
* attach the log file '/var/log/cups/error.log' (or relevant parts of it) to
this bug report, in particular the line containing "[Job <JOB_NUMBER>] argv[5]"
is relevant, as it contains the options passed to CUPS.

2) Try with modified PPD file that uses the default keyword "Duplex" for the
duplex option

Is the result still the same when you use the modified PPD file
"hl4150cdn_MODIFIED.ppd" that I have attached to this bug? (The only
modification is that I have replaced the vendor-specific keyword "BRDuplex"
with the standard keyword "Duplex", which might change how this is handled in
Qt and/or Okular).

In order to use the modified PPD, you can run the following command in the
directory where the modified PPD is located:
 lpadmin -p <YOURPRINTERNAME> -P  hl4150cdn_MODIFIED.ppd

The same command with the previous PPD file given will reassign that PPD again.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list