Version: (using KDE KDE 3.5.5) Installed from: SuSE RPMs OS: Linux I'm creating a couple of .ps files using a scanner. Then calling up kprinter, selecting multiple .ps and choosing 'Mail PDF file'. This fails with the attached error message. Doing the same, but selecting 'print to PDF' works! Seems there is a problem in the processing command-string
Created attachment 20476 [details] error message from kprinter
Confirmed. From the error message, I believe there is a problem in the generation of the command that calls ps2pdf. The $out{/some/file/name.pdf} should not contain the $out and the accolades, I believe. This being the only command in the default special printers that uses the %out placeholder (see $KDEDIR/share/apps/kdeprint/specials.desktop), and this error appearing only when multiple files are "printed" at once, it explains why the bug wasn't yet observed. Shouldn't be difficult to fix. Just that I get to find the time... Thanks.
In fact, no, some brief investigation shows that ps2pdf can't process more than one input file at once. So the command used in specials.desktop: ps2pdf -sPAPERSIZE=%psl %in %out && kmailservice .... should become cat %in | ps2pdf -sPAPERSIZE=$psl - %out && kmailser .... So, this is the easy fix. But before I commit, I will have to check what makes so that the "Print to PDF" special works out of box (one hint is that the command used for it is simply "ps2pdf" with no options). And the $out{} thing is still no good in the "Mail PDF" special command, so this will need fixed eventually (although it has no bad sideeffects).
Hm...looks like this is still open in 3.5.10, as I still run into the same problem.... can I fix this somehow locally?
Looks like this bug can be closed.
Why? Because the whole functionality (print to fax| send as PDF attachmentis gone with 4.x?
On Tuesday 8. December 2009 18.07.32 Axel Braun wrote: > Why? Because the whole functionality (print to fax| send as PDF > attachmentis gone with 4.x? That is the reason I removed the 'junior-jobs' keyword. I think the bug can be closed because the application it is reported to no longer exists.
KDEPrint is obsolete, unmaintained and will never be revived. Closing all open bugs.