[Samba] Re: [cups.general] Re: Windows Clients keep finished jobs in Queue

Martin Zielinski mz at seh.de
Mon Oct 4 09:07:28 GMT 2004

Hello list!

I couldn't track it down completly, but perhaps it's enaugh for the team 

The reason for this is, that the job notify messages are not send to the 
When the job is started, two PRINTER_NOTIFY2 messages are send to the client

When the job is deleted (printing.c/pjob_delete()) another job status message 
is queued (JOB_STATUS_DELETING|JOB_STATUS_DELETED). But this message never 
goes out.

The next time, the "print_notify_messages()"-function is invoked (from the 
timeout_processing()-function), the message coming out is a 

It looks like the earlier message is overwritten before the process could 
transmit it to the client.
As a workaround, the printjobs disappear, when a print_notify_send_messages(0) 
- call is added to pjob_delete(). I don't think, that's the solution - I 
don't have an idea about the side-effects.

I hope this points one of the gurus to the right direction.
Sorry for my english.


On Thursday 30 September 2004 10:54, Hamish wrote:
> Misty Stanley-Jones wrote:
> >On Wednesday 29 September 2004 09:29, Ryan Suarez wrote:
> >>I'm also seeing this problem.  We're running samba 3.0.7 with CUPS
> >>1.1.20.  The clients printing are WinXP Professional SP1.
> >>
> >>The jobs printed are still displayed in the Windows printer status
> >>window, even though it's been printed already and disappears from the
> >>CUPS printer queue list.
> >
> >You will note that if you refresh, they disappear.  I see the problem too
> > with 3.0.6. Have not tested with 3.0.7 yet.  I think it's also with WinNT
> > clients. Another person on this list reported the same refresh problem
> > with files in Explorer too.
> >
> >Misty
> I am having the same problem. Refresh does not clear the jobs, and CUPS
> shows the jobs as printed. It is interesting to have a complete history
> of the printer, but this confuses users! Deleting the "jobs" works, but
> is there a way to stop them filling up the windows printer "queue"?

Martin Zielinski                       mz at seh.de
Software Development
SEH Computertechnik GmbH     www.seh.de

More information about the samba mailing list