Le Lundi 11 Septembre 2006 03:19, Donny Christiaan a écrit :

> I've upgrade my pkpgcounter to v1.85  (and restart my CUPS services) but
> the problem still there :) the counter for my Samsung ML-1710 still
> wrong ...
>
> "Sep 11 08:20:48 ltsp jasmine[10308]: User 'hrd0aris' printed 1242 pages
> on printer 'HRDPrinter'"

If this can help Jerome :
  - JASmine-Backend extracts the number of copies from the command-line
  - It then launches pkpgcounter to get the number of pages for a single copy
    of the document (I need to work on this, i'm not sure this is always
    true...)
  - It then records $copies and $pages in the database
  - Finally, JASmine-Web displays $total=$pages*$copies

What would be great, Donny : "tail -f /var/log/syslog", then print the 
problematic document, and watch for JASmine-Backend's debug messages; you 
should see something like :

Sep 10 23:00:35 jasmine jasmine[25750]:   Arguments: 16|nayco|Current style in 
web design|11|_kde-filters media=A4,Normal,Upper 
job-uuid=urn:uuid:31b72b90-4242-3123-690e-a9cd9db9e5d9|/var/spool/cups/d00016-001
[...]
Sep 10 23:00:36 jasmine jasmine[25750]:   Document: /var/spool/cups/d00016-001
Sep 10 23:00:36 jasmine jasmine[25750]:   Analyzer returned: 0
Sep 10 23:00:36 jasmine jasmine[25750]:   Analyzing successful !
Sep 10 23:00:36 jasmine jasmine[25750]:   Number of pages: 4

What is the "number of pages" you get ? Then look between the document title 
and the print options, you should see the number of copies (here, 11). How 
much ?

TIA :-)




-- 
Put JASmine in your Cups !

To unsubscribe :
  mailto:[EMAIL PROTECTED]
List archives :
  http://dir.gmane.org/gmane.comp.printing.jasmine.user
  http://www.mail-archive.com/jasmine%40ml.free.fr/
Web site :
  http://jasmine.berlios.de/



Reply via email to