[Kde-print-devel] [Bug 122147] insert '%%Title: xyz' (PostScript DSC comment) into printjob so that KJobViewer displays job name (instead using generic dummy name)

Kurt Pfeifle pfeifle at kde.org
Thu Jan 11 14:20:39 CET 2007

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
pfeifle kde org changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
          Component|kjobviewer                  |general
      everconfirmed|0                           |1
         OS/Version|Linux                       |All
            Product|kdeprint                    |kpdf
            Summary|wish: show name of document |insert '%%Title: xyz'
                   |in printjob                 |(PostScript DSC comment)
                   |                            |into printjob so that
                   |                            |KJobViewer displays job name
                   |                            |(instead using generic dummy
                   |                            |name)
            Version|0.1                         |unspecified

------- Additional Comments From pfeifle kde org  2007-01-11 14:20 -------

This is a deficiency. However, I don't think it is KDEPrint's/KJobViewer's realm.

AFAIK, KJobViewer is designed to display the CUPS "job title" that it gets handed over by the application. Only if it doesn't get such an info, it will fill in the  "KDE Print System" string as the job title (because CUPS requires one).

I'll move that bug to the kpdf module for now.

But similar deficiencies probably affect other (KDE) applications as well... I just don't have the time right now to check them all. (KWord for example, does The Right Thing (TM) here...)

@ kpdf developers:

kpdf should insert a "%%Title: whatever-it-should-be" line in the PostScript DSC comments near the top of the printfile. But this line is completely missing.

See how KWord does it:

  * if the "Title:" line is filled in by the user (menu "File --> Document 
    Information --> General") KWord inserts that string as %%Title:

  * if the "Title:" line is empty, KWord simply takes the the document's file
    name and places that into the PostScript jobfile as %%Title:

I think kpdf should do the same. (Maybe even on the level of Poppler -- you know better than me...)

(BTW, the %%Title: line of a PostScript file is also evaluated by allmost all PostScript printers to display the job name on their front panel displays, or to show it in SNMP queries.)


(changed $summary, previous one was: "wish: show name of document in printjob")

More information about the Kde-print-devel mailing list