Version: (using KDE 3.2.3, compiled sources) Compiler: gcc version 3.2.2 OS: Linux (i686) release 2.4.19-64GB-SMP Hi! it would be nice to be able to integrate some billing information. I am aware that this might be the wrong place to ask for but the KDE cups integration is so pwowerful that it's worth a try. cu ferdinand
What do you mean exactly? KDEPrint already integrates billing information from CUPS: you can set it from the "Advanced Options" tab in the print dialog, and it is shown in the job viewer.
sorry I was not precise I would like to gather the number of pages a user sent to a printer, and multiply this number with the cost/page to charge his/her departement. I agree nevertheless, that it might be usefull to add billing information on a per job basis to allocate costs to individual projects.
OK, I see. Well, I don't think the kdeprint is the best place to implement something like this. You can view this feature as part of a larger CUPS administration tool, which could be develop separately (and maybe integrated later into kdeprint as a plugin). I developed a while ago something that's close to what you'd like. Have a look into kdenonbeta/cupslogtool/. When you parse the CUPS page log file, right-clicking on a log entry will show you various report possibilities, like number of pages printed by user/printer for various period of time.