[Kde-print-devel] [Bug 116269] JJ: Output name for PDF/PS file printer should default to filname.{pdf, ps} [make use of function KPrinter::setDocFileName() like KWord]

Kurt Pfeifle pfeifle at kde.org
Mon Jan 15 15:09:45 CET 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=116269         




------- Additional Comments From pfeifle kde org  2007-01-15 15:09 -------
Yes, we are *mostly* talking about KDE apps.

But we also support printing from non-KDE apps. And we do support printing *any* files that are printable, simply by loading them into KPrinter. And trust me, there are a lot of non-DSC compliant PostScript files out there, which nevertheless print fine. It is just that they may have the "%%Title:" line missing in their PostScript header, and then KPrinter uses "(KDE Print System)" as the job title.

But it doesn't stop there: KDEPrint *has* to use a "title" parameter for every job it submits to CUPS. So if you have a central CUPS server in an office, a department or a university, you'll see hundreds of jobs all named the same: "(KDE Print System)". In-distinguishable...

Setting a uniq job name (if none is provided) is therefor good for more than one reason. We do already set a name (if none is provided) -- but it is not uniq.

"print-$(date +%Y-%M-%d-%H-%M-%S).ps" would of course not be used for all apps that know how to hand over the name (setDocName() function in KDE).

BTW, kpdf has already fixed that, see bug 122147. And KOffice fixed it, bug 139905.

We should submit bug reports to any KDE app that does not use setDocName for their printing via kprinter.


More information about the Kde-print-devel mailing list