Bug 143643 - Number of pages is 0 for every job I print
Summary: Number of pages is 0 for every job I print
Status: CLOSED NOT A BUG
Alias: None
Product: kdeprint
Classification: Unmaintained
Component: kjobviewer (show other bugs)
Version: 0.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-30 20:27 UTC by Yuriy Padlyak
Modified: 2008-12-31 20:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Number of pages is 0 for every job I print (224.01 KB, image/png)
2007-03-30 20:28 UTC, Yuriy Padlyak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuriy Padlyak 2007-03-30 20:27:25 UTC
Version:           0.1 (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu13)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.20-13-386

Number of pages is 0 for every job I print. See screenshot
Comment 1 Yuriy Padlyak 2007-03-30 20:28:37 UTC
Created attachment 20133 [details]
Number of pages is 0 for every job I print
Comment 2 Kurt Pfeifle 2007-03-30 21:13:33 UTC
Yuriy,

this is (very likely) not a KDEPrint bug.

KDEPrint asks CUPS about the number of pages that were printed, and has to rely on the information it gets from CUPS.

What info do you find in /var/log/cups/page_log when you open it with a text editor or a pager? (The first field of each line will tell you the printer name, the 2nd will tell you the CUPS job ID. The last field should contain the IPP attribute "job-originating-host-name", the last but one very likely only will say "-", but the next will tell you the page number and the number of copies for each page.)

What do you see if you point Konqueror to

   http://localhost:631/jobs?which_jobs=completed

Does it show page sizes there?
Comment 3 Yuriy Padlyak 2007-03-31 10:00:06 UTC
Hi Kurt,

The /var/log/cups/page_log log is empty.
http://localhost:631/jobs?which_jobs=completed shows "Unknown" in pages
column.

On 30 Mar 2007 19:13:35 -0000, Kurt Pfeifle <pfeifle@kde.org> wrote:
[bugs.kde.org quoted mail]



Hi Kurt,<br><br>The /var/log/cups/page_log log is empty. <br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://localhost:631/jobs?which_jobs=completed" target="_blank">http://localhost:631/jobs?which_jobs=completed
</a> shows &quot;Unknown&quot; in pages column. <br><br><div><span class="gmail_quote">On 30 Mar 2007 19:13:35 -0000, <b class="gmail_sendername">Kurt Pfeifle</b> &lt;<a href="mailto:pfeifle@kde.org">pfeifle@kde.org</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">------- You are receiving this mail because: -------<br>You reported the bug, or are watching the reporter.
<br><br><a href="http://bugs.kde.org/show_bug.cgi?id=143643">http://bugs.kde.org/show_bug.cgi?id=143643</a><br><br><br><br><br>------- Additional Comments From pfeifle kde org&nbsp;&nbsp;2007-03-30 21:13 -------<br>Yuriy,<br><br>this is (very likely) not a KDEPrint bug.
<br><br>KDEPrint asks CUPS about the number of pages that were printed, and has to rely on the information it gets from CUPS.<br><br>What info do you find in /var/log/cups/page_log when you open it with a text editor or a pager? (The first field of each line will tell you the printer name, the 2nd will tell you the CUPS job ID. The last field should contain the IPP attribute &quot;job-originating-host-name&quot;, the last but one very likely only will say &quot;-&quot;, but the next will tell you the page number and the number of copies for each page.)
<br><br>What do you see if you point Konqueror to<br><br>&nbsp;&nbsp; <a href="http://localhost:631/jobs?which_jobs=completed">http://localhost:631/jobs?which_jobs=completed</a><br><br>Does it show page sizes there?<br></blockquote>
</div><br><br clear="all"><br>-- <br>Best regards, <br>Yuriy Padlyak
Comment 4 Kurt Pfeifle 2007-03-31 13:49:53 UTC
Yuriy,

this means that the problem is not in KDEPrint, but in CUPS' logging of the page count.

I'm guessing that you're using a version of a "third party" Foomatic driver/PPD that is too old and contains a bug re. the page accounting. (See also http://www.cups.org/newsgroups.php?s3635). (With "third party" I mean: does not ship as part of CUPS, but may usually still work well with CUPS).

Try to update. Use the latest version of "foomatic-rip" available from www.linuxprinting.org (http://www.openprinting.org/download/foomatic/).

If that does not help, then please report the problem to the (now moved) general forum of linuxprinting.org: http://forums.freestandards.org/list.php?19

If you do so, please state exact versions of your Linux distro, your printer model, and the printer driver+PPD you're using.

Cheers,
Kurt
Comment 5 John Layt 2008-12-31 20:47:26 UTC
Closing old Resolved status bug.