[cups.general] Re: pstops not being called

Jeff Hardy hardyjm at potsdam.edu
Wed Jun 9 12:51:17 PDT 2004


I've written a perl wrapper backend that wraps around the existing LPD
backend.  It examines print jobs looking for the data below.  The
advantage is that it does not care how it hits the filter chain, or even
if it is a raw queue... it will always examine the postscript.  We had
some of the same problems.  It's Perl so you can easily modify it for
your environment:

http://fritz.potsdam.edu/projects/cups/



On Tue, 2004-06-08 at 11:53, Helge Blischke wrote:
> What looks your printing setup in samba like?
> 
> Helge
> 
> 
> Daniel Lawson wrote:
> > 
> > I'm trying to set up printer accounting (very trivial, just want job/page counts per user / printer - don't care about quota, just want to yell at person(s) printing too much).
> > 
> > I have an HP Color Laserjet 4550 CN, which is set up via cups (1.1.20) using the vendor provided PPD. I'm sharing the printer via samba, however I've tried via IPP as well to no avail. I'm using the 4550 PS driver under WinXP.
> > 
> > It seems that pstops is not being called when printing from this host, and this is the reason for the accounting to fail.
> > 
> > The problem is this:
> > 
> > * If I print from the Windows XP host, I don't get an entry in the page_log.
> > 
> > * If I print from the cups web interface, I get an entry in the page_log.
> > 
> > * If I print from the Windows XP host using the 4550 PCL driver, I get an entry in the page_log.
> > 
> > Now, I could reinstall all the printers to use the PCL driver, but this *should* work!
> > 
> > I've strace()d cups while printing, and pstops doesn't get called if I use the 4550 PS driver under XP, however it *does* get called in all the other situations.
> > 
> > I'm figuring there is something trivial I'm missing. Any thoughts?
> > 
> > Running Debian Woody, with backports for cups (1.1.20), gs-esp (7.05.6) and samba3 (3.0.4)





More information about the cups mailing list