Created attachment 160955 [details] this fix the message after socket close CUPS operation Printer after finishing the job, shows "Waiting for printer to finish." in lpstat and in the web interface This is due to the socket.c that after closing the socket, does not rewrite the message the fix writes another message: "Ready to print." after closing the socket
Can you test again with cups 2.1.3?
(In reply to Tijl Coosemans from comment #1) I installed cups & cups-filers (removed foomatic) and until now, it is working as expected...
the problem remains printing from a cups-2.1.3_2 FreeBSD10.3 amd64 to a brother PS printer. it prints but the brother machine does not close the socket at once so the message in lpstat remains: "waiting for print to finish job" The FIX applied solved the PROBLEM
Created attachment 169832 [details] patch-backend_socket.c Can you try this patch instead? I think these messages need to be printed using the DEBUG channel instead of other channels like INFO. Channels like INFO are used when the backend fails to print because of a problem with the printer. A message can then be passed along to indicate the reason for the failure. The message you're seeing is just a debug message. There's nothing wrong with the printer.
A commit references this bug: Author: tijl Date: Sat Jun 25 15:41:39 UTC 2016 New revision: 417473 URL: https://svnweb.freebsd.org/changeset/ports/417473 Log: - Update to 2.1.4. - Let the socket backend print debug messages on the DEBUG channel. The other channels affect the printer status message in lpstat(1) which can be confusing. [1] PR: 203058 [1] Changes: head/print/cups/Makefile head/print/cups/distinfo head/print/cups/files/patch-backend_socket.c head/print/cups/pkg-plist
I'm having the same issue with my HP Color LaserJet (hplip) connected with RJ45. Cups version is 2.1.4-4 on Raspbian. The printer seems to work as expected but I'm still having the message "Waiting for printer to finish" after the first print.
(In reply to Nate from comment #6) Sorry, I forgot to say that the model is a HP Color LaserJet 2605dn
(In reply to Nate from comment #6) FreeBSD is a different Operating System than Raspbian. You'll have to file a bug report at https://www.raspbian.org/RaspbianBugs. In that report you can say there is a patch available in this FreeBSD bug.