Lire support for CUPS?
Egon Willighagen
egonw at sci.kun.nl
Sat Oct 20 11:46:16 CEST 2001
On Friday 19 October 2001 08:46, Egon Willighagen wrote:
> On LinuxFocus Talkback you wrote:
> > To have lire analyze the "page_log" file produced by CUPS
> > (http://www.cups.org/ , the Common UNIX Printing System, would be really
> > cool. Many print shops need this for accounting purposes. The CUPS
> > page_log logs a line for every printed page containing information on the
> > attributes printer-name, user-name, job-id, date+time,
> > page-number-within-job, number-copies-for-this-page and job-billing...
> >
> > Would this be easy? (I can provide you with a sample of a pag_log file,
> > if none of you folks knows or uses CUPS so far...)
It actually took me just two hours... That easy is it... (though i have
some insight knowledge).
> Yes, that would be an excellent extension to Lire, since printing services
> fit perfectly in our target environment. Please send us your sample log
> file, which we will use for test purposes.
I currently have a 1 line log file, so a larger one is needed for real testing
purposes...
> I assume the CUPS webpage explains the log format? If not, could you give
> some explanation on the fields?
Ok, found that after some browsing...
The output looks like:
Report generated: 2001-10-20 11:31:55 CEST
Reporting on period:
1999-05-20 21:21:05 CEST - 1999-05-20 21:21:05 CEST
Jobs By Printer
DeskJet ................................................... 1
This afternoon i shall add more reports. Requests can be emailed
to me. All the code is in CVS.
regards,
Egon
--
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
questions-request at logreport.org
More information about the Questions
mailing list