I have a Samsung SCX-4220 printer, and it has been working well until some time ago. I cannot say for certain when the troubles started since I had nothing to print for several months. But recently, when I print anything, there is a lag between when I send something to the printer and when it starts printing. If it’s one page, the lag is just several seconds but still noticeable. If it is about 20 pages, the lag can reach several minutes. With greater number of pages I didn’t have the patience to wait, just cancelled the job.
It is observed regardless of whether I print from some app with a GUI or use
During this period (when the job is sent, but the printer hasn’t started printing), if I look at the CUPS web-interface → Jobs, the job is marked as “Sending data to printer.” If I issue
lpq, the output is
Samsung_SCX-4200_Series is ready and printing Rank Owner Job File(s) Total Size active $user 39 $filename 46681088 bytes
(I changed my user name and file name in that output)
Here is what I get if I use the following commands:
# lp -i 39 -H immediate lp: Job is completed and cannot be changed. # lp -i 39 -H restart lp: Job #39 is not complete. # lp -i 39 -H immediate lp: Job is completed and cannot be changed.
Restarting the cups service doesn’t help, and the problem persists between reboots. How can I troubleshoot it?
Just found out that such a hanging job consumes 100% of 1 CPU core.