[okular] [Bug 404549] Printing N copies results in N^2 copies printed instead

Michael Weghorn bugzilla_noreply at kde.org
Thu Feb 21 07:29:07 GMT 2019


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

Michael Weghorn <m.weghorn at posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.weghorn at posteo.de
         Resolution|---                         |WAITINGFORINFO
             Status|REPORTED                    |NEEDSINFO

--- Comment #2 from Michael Weghorn <m.weghorn at posteo.de> ---
This sounds like it might be related to the CUPS filter chain, rather than
Okular.

The following information might help to further narrow this down:

1) Does this happen for all files or just specific ones?

2) Can you attach the CUPS log for one such print job (with LogLevel set to
debug)?

3) the file as generated by Okular: Can you (using a non-confidential file)
* temporarily disable the printer using 'sudo cupsdisable <PRINTER_NAME>'
* start printing from Okular
* attach the print file called 'd<JOB_ID>_001' from directory '/var/spool/cups'
(which should be a PostScript file)
You can then enable the printer again using 'sudo cupsenable <PRINTER_NAME>?

4) Can you attach the PPD files of the printer(s), which should be located at
/etc/cups/ppd/<PRINTER_NAME>?

5) What is the device URI of the printer (which is shown e.g. when running
'lpstat -v'?

6) Can you attach the file as generated by the CUPS filters? In order to get
this, you can set up a dummy printer that prints to a file as follows:
* set 'FileDevice Yes' in /etc/cup/cups-files.conf
* restart CUPS
* set up a dummy printer that prints to a file, using the real printer's PPD
file:
  'sudo lpadmin -p tofile -v file:/tmp/tofile -P /etc/cups/ppd/<PRINTER_NAME>
-E'
* print the PDF file from Okular to the "tofile" printer
* attach the file that is generated at /tmp/tofile

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


More information about the Okular-devel mailing list