After finishing print jobs, the (Samba) print queue is not updated. Printed jobs remein in the Windows print spooler window and in the $Printer.tdb file.
Created attachment 3423 [details] proposed patch
Pushed fix after review. Closing out bug report.
*** Bug 5649 has been marked as a duplicate of this bug. ***