https://bugs.kde.org/show_bug.cgi?id=404549
Michael Weghorn <m.wegh...@posteo.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |NEEDSINFO Resolution|--- |WAITINGFORINFO --- Comment #9 from Michael Weghorn <m.wegh...@posteo.de> --- Thanks for all the information. I don't see anything obvious at first sight. However, the file you attached for 6 is another one, and the comment for the attachment also says '/tmp/okular_vTQSft.ps'. It's the file generated by Okular (identical to the one from step 3), not the one generated by the CUPS filters. The other file should have been saved as "/tmp/tofile", but it may be that CUPS wasn't allowed to write '/tmp' due to some system restrictions (e.g. AppArmor policies,...). You might try using another path, e.g. '$HOME/tofile', i.e. use the '-v file:$HOME/tofile' option for the lpadmin command and see whether this works. Anyway the CUPS log shows that this is the CUPS filter chain for the print job: > D [22/Feb/2019:11:51:36 +0300] [Job 1095] 4 filters for job: > D [22/Feb/2019:11:51:36 +0300] [Job 1095] gstopdf (application/postscript to > application/pdf, cost 0) > D [22/Feb/2019:11:51:36 +0300] [Job 1095] pdftopdf (application/pdf to > application/vnd.cups-pdf, cost 66) > D [22/Feb/2019:11:51:36 +0300] [Job 1095] gstoraster > (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99) > D [22/Feb/2019:11:51:36 +0300] [Job 1095] > /usr/lib/cups/filter/rastertokpsl_A3 (application/vnd.cups-raster to > printer/Kyocera_TASKalfa_1801, cost 0) Some more questions: A) Do you know where the '/usr/lib/cups/filter/rastertokpsl_A3' filter comes from? Is it some (proprietary) binary provided by the vendor (Kyocera)? B) Is the result the same when you manually print the file from step 3 using the following command (using the options from the CUPS log)? lp -d Kyocera_TASKalfa_1801 -n 3 -o "Collate finishings=3 fit-to-page job-billing media=A4 number-up=1 number-up-layout=lrtb outputorder=normal page-bottom=10 page-left=12 page-right=12 page-top=10 portrait sides=one-sided Duplex=None PageSize=A4" d01096-001 C) And does anything change if you leave out all the specific options and just use this command: lp -d Kyocera_TASKalfa_1801 -n 3 d01096-001 To check whether one of the filters does something odd, you can check their "intermediate" results. Using the file from step 3, you can run the first filter using PPD=/etc/cups/ppd/Kyocera_TASKalfa_1801.ppd /usr/lib/cups/filter/gstopdf 1 $USER title 3 "Collate finishings=3 fit-to-page job-billing media=A4 number-up=1 number-up-layout=lrtb outputorder=normal page-bottom=10 page-left=12 page-right=12 page-top=10 portrait sides=one-sided Duplex=None PageSize=A4" d01096-001 > result_from_gstopdf and then check the file "result_from_gstopdf" whether it has 3 pages or more Then using that file, you can run the next filter: PPD=/etc/cups/ppd/Kyocera_TASKalfa_1801.ppd /usr/lib/cups/filter/pdftopdf 1 $USER title 3 "Collate finishings=3 fit-to-page job-billing media=A4 number-up=1 number-up-layout=lrtb outputorder=normal page-bottom=10 page-left=12 page-right=12 page-top=10 portrait sides=one-sided Duplex=None PageSize=A4" result_from_gstopdf > result_from_pdftopdf and check its result again, etc. (though I'm not sure what format the last filter generates and whether you can simply view it). -- You are receiving this mail because: You are watching all bug changes.