Duplicate page_log lines for the very same job

Kurt Pfeifle kpfeifle at danka.de
Mon Jan 22 14:25:43 PST 2007


> Ok, I've been reading a bit and found out that when I'm using foomatic-rip (Foomatic PPD), then pstops is no longer responsible for the page_log information, but the foomatic-rip itself. Since I didn't have any other ideas on what to do to eliminate the duplicate lines in my page_log, I switched the PPD for the related printer to the CUPS-provided ones, thinking that it would possibly avoid foomatic-rip to write the page_log lines, leaving the task to the pstops filter.
>
> This seems to have fixed my problem with the duplicate page_log lines... Still, I really would like to know why do I get duplicate page_log lines for the same job when using the Foomatic PPD (and hence foomatic-rip) for my printer.
>
> If anyone has any thoughts that could share, I'd appreciate it!
>
> Thanks in advance,
> asm
>
>
> > Hi,
> >
> > I'm using CUPS 1.2.7 + ESPGS 8.5.13 (both source compilation) in a Debian 3.1 box with Samba 3.0.23c (source compilation either) to create a network print server. I've configured a remote printer (HP LaserJet 1200 on a D-Link Print Server) into CUPS using the Foomatic PPD, using LPD as the connection protocol. Everything seems to be working fine, I can set my LogLevel to debug2 and no errors nor warnings are shown in there, and I can print from my Windows clients completely fine using Adobe drivers (for Win9x stations) or CUPS drivers (for Win2k ones). Everything really seems to goes extremely smooth.
> >
> > Now the sad part: I could say that my installation over here is perfect, if it wasn't for this problem with my page_log. It seems that every job gets duplicate lines into my page_log, no matter how you print it, nor from where you send it.
> >
> > Here's a sample of my page_log file.
> >
> > HP1200 ANDERSON 47 [19/Jan/2007:11:29:35 -0200] 1 1 - 192.168.0.136
> > HP1200 ANDERSON 47 [19/Jan/2007:11:29:35 -0200] 1 1 - 192.168.0.136
> > HP1200 LCVLEO 48 [19/Jan/2007:11:34:29 -0200] 1 1 - 192.168.0.63
> > HP1200 LCVLEO 48 [19/Jan/2007:11:34:30 -0200] 1 1 - 192.168.0.63
> > HP1200 LCVLEO 48 [19/Jan/2007:11:34:30 -0200] 2 1 - 192.168.0.63
> > HP1200 LCVLEO 48 [19/Jan/2007:11:34:30 -0200] 2 1 - 192.168.0.63
> > HP1200 LCVLEO 48 [19/Jan/2007:11:34:30 -0200] 3 1 - 192.168.0.63
> > HP1200 LCVLEO 48 [19/Jan/2007:11:34:31 -0200] 3 1 - 192.168.0.63
> > HP1200 LCVLEO 48 [19/Jan/2007:11:34:31 -0200] 4 1 - 192.168.0.63
> > HP1200 LCVLEO 48 [19/Jan/2007:11:34:31 -0200] 4 1 - 192.168.0.63
> > HP1200 ANDERSON 49 [19/Jan/2007:12:05:29 -0200] 1 1 - 192.168.0.136
> > HP1200 ANDERSON 49 [19/Jan/2007:12:05:30 -0200] 1 1 - 192.168.0.136
> > HP1200 guest 50 [19/Jan/2007:18:45:04 -0200] 1 1 - localhost
> > HP1200 guest 50 [19/Jan/2007:18:45:04 -0200] 1 1 - localhost
> > HP1200 guest 51 [19/Jan/2007:18:57:24 -0200] 1 1 - localhost
> > HP1200 guest 51 [19/Jan/2007:18:57:24 -0200] 1 1 - localhost
> >
> > The jobs requested by the "guest" user were printed through the CUPS admin panel.
> >
> > I tried to understand something from the error_log that could help me to solve this but, I'm affraid that I'm getting too sloppy as the time passes me by...
> >
> > So, I could live fine with the duplicate lines, but it bothers me to think that I'd have a page_log with the double of it's normal size with no reason at all, and even worst, my printing reports showing everything doubled as well.
> >
> > I appreciate any kind of help or hints that could help me to get this issue solved. Also, I can upload the error_log file if required.
> >
> > Thanks in advance,
> > asm


If Till doesn't respond here (he very often does, but he is rather busy recently), I'd post it on the Linuxprinting.org "General" forum.

I reckon it is a bug in your used foomatic-rip (and it may even be fixed if you download the latest version from linuxprinting.org, it's only a Perl script).





More information about the cups mailing list