Printing quota ?
Hello I'm searching for a free software that perform print accounting interface with CUPS welcome. Thank you Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printing quota ?
On Thu, 20 Oct 2005, Frank Bonnet wrote: I'm searching for a free software that perform print accounting interface with CUPS welcome. You are entering into one of the most troublesome things in system administration. There are two problems: * Relyably determining who's printing * Relyably determining the number of pages I don't know anything about CUPS but I once wrote a script for LPRng which may be changed to work with CUPS. LPRng calls the script with user information as command line options and the document on STDIN. The script determines the user from the command line option and counts pages in postscript documents by parsing STDIN. If the document doesn't look enough like postscript it is discarded. Windows users have a hard time getting it right. I can send it to you if you're interested. Cheers, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printing quota ?
> LPRng calls the script with user information as command line > options and the document on STDIN. The script determines the user > from the command line option and counts pages in postscript > documents by parsing STDIN. > If the document doesn't look enough like postscript it is > discarded. Windows users have a hard time getting it right. What I wrote will query the printer for page count before and afterthe job. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printing quota ?
On Thu, 20 Oct 2005, Olivier Nicole wrote: If the document doesn't look enough like postscript it is discarded. Windows users have a hard time getting it right. What I wrote will query the printer for page count before and afterthe job. We tried that also, however, then you have problems if printerjobs are cancelled halfway. Also, the "sanity" check works against accepting print jobs that will cause the the printer to print endless pages with strange characters untill it runs out of paper or the job is cancelled. We had a lot of those because of misconfigured windows machines. Cheers, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printing quota ?
> > What I wrote will query the printer for page count before and afterthe > > job. > > We tried that also, however, then you have problems if printerjobs > are cancelled halfway. For us it is OK to forget to count a job from time to time, as the filter queries the printer before and after, the next job will start a new count anyway. > Also, the "sanity" check works against accepting print jobs that > will cause the the printer to print endless pages with strange > characters untill it runs out of paper or the job is cancelled. We > had a lot of those because of misconfigured windows machines. Well, I have my guy install the printers on the machines for the users, so they use the right driver :) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printing quota ?
At 09:46 Thu 20 Oct 2005, Frank Bonnet wrote: > Hello > > I'm searching for a free software that perform print accounting > interface with CUPS welcome. > PyKota: http://www.librelogiciel.com/software/PyKota/action_Presentation -- Lee Capps Technology Specialist CTE Resource Center ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printing quota ?
Erik Norgaard wrote: LPRng calls the script with user information as command line options and the document on STDIN. The script determines the user from the command line option and counts pages in postscript documents by parsing STDIN. If the document doesn't look enough like postscript it is discarded. Windows users have a hard time getting it right. well ... we use PostScript and PCL so it is not suitable to discard non postscript jobs anyway thanks for your answer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printing quota ?
On Thu, 20 Oct 2005, Frank Bonnet wrote: LPRng calls the script with user information as command line options and the document on STDIN. The script determines the user from the command line option and counts pages in postscript documents by parsing STDIN. If the document doesn't look enough like postscript it is discarded. Windows users have a hard time getting it right. well ... we use PostScript and PCL so it is not suitable to discard non postscript jobs anyway thanks for your answer IIRC There is very little difference between PS and PCL, some codes at the beginning, and not enough that my script discarded it. PDF was the big problem. Cheers, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"