[Kde-print-devel] [Bug 145016] kprinter fails to convert/send multiple pages as PDF

Cristian Tibirna tibirna at kde.org
Fri May 4 14:11:30 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=145016         




------- Additional Comments From tibirna kde org  2007-05-04 14:11 -------
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).


More information about the Kde-print-devel mailing list