FS#16107 - [cups] 1.4.0-2 only prints one job
Attached to Project:
Arch Linux
Opened by Jakub Schmidtke (sjakub) - Wednesday, 09 September 2009, 05:31 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 14 August 2010, 21:06 GMT
Opened by Jakub Schmidtke (sjakub) - Wednesday, 09 September 2009, 05:31 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 14 August 2010, 21:06 GMT
|
Details
Description:
cups only prints one job. after that I need to restart cupsd to be able to print anything else. I have cups-1.4.0-2 and usblp blacklisted (as mentioned here: http://bugs.archlinux.org/task/15998). After the first job which prints fine, when I want to print anything my printer (Samsung ML-2240, using driver for ML-1640) blinks twice and nothing else happens. The first job is printed perfectly. I have splix 2.0.0-1 driver. There are no errors in the log, and everything seems fine (there are no processes eatign 100% of CPU), there is just nothing printed out... |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Saturday, 14 August 2010, 21:06 GMT
Reason for closing: Works for me
Additional comments about closing: initial issue seems fixed. other may open new issues.
Saturday, 14 August 2010, 21:06 GMT
Reason for closing: Works for me
Additional comments about closing: initial issue seems fixed. other may open new issues.
I have had a number of issues recently, most of them are probably related to usblp,
before I blacklisted it. And at some point I have seen an insane number of [defunct] processes
(usb, and some ps convertion processes), but since usblp is blacklisted, and cups is in 1.4.0-2 with
fresh configuration (deleted /etc/cups, reinstalled packages, reinstalled the printer) I haven't seen those
processes, or any usblp-related dmesg entries. If only it was able to print more than one job....
Any suggestions, how can I try to figure out what is going on?
udev-146-2?
hal 0.5.13-2
kernel-headers 2.6.30.5-1
kernel26 2.6.30.5-1
kernel26-firmware 2.6.30-1
klibc-udev 141-3
libcups 1.4.0-2
splix 2.0.0-1
udev 146-2
cups-str3311.patch STR #3292 and 3293 look promising. good luck. at least these are all upstream issues you should discuss in the cups bugtracker!
I have submitted a bug: http://www.cups.org/str.php?L3326
And in the meantime I have discovered that printing txt files between PDF files somehow fixes it for the next PDF job...
"Closed w/o Resolution: Please contact your Linux distributor for this issue."
Is a HP Colorlaserjet 3505 and all is working fine.
Also as tpowa, said try to remove and re-add your printer.
I have removed cups, and /etc/cups, reinstaleld cups and splix again, and added printer from scratch.
Cups still prints only one job. After that I need to turn off the printer and turn it back on.
Restarting cups doesn't help.
I will attach 2 logs (debug level).
First one is - I turned on the printer, started cups, printed one PDF file (one page), stopped cups.
Second one - I started cups, printed exactly the same PDF file, stopped cups.
When I removed time column, and changed 'Job 148' to 'Job 147', most of those files are the same.
I have a Canon with turboprint drivers. The printer is hooked to the router and I use the ipp protocol.
Börje, ask in our forum or mailing list for help. The major cups will update needs some interaction, start with the frontpage news.
It will print once. Then with any other print jobs the cups printer manager says the job is completed, but it never prints. If I turn my printer on and off again, then it will print once, and then same thing.
I have cups 1.4.1 and I have udev 146-2. Kernel 2.6.31.
I followed the instructions for blacklisting usblp in rc.conf. I did "chmod 664 /dev/bus/usb/005/002" after looking up my printer bus and device number with lsusb. (Although it wasn't clear to me if this was necessary with udev 146-2). I deleted my printer from the cups print manger and readded it.
But I still have this problem that it will only print once and then says jobs are completed but doesn't print them.
Raise debug level any maybe try a generic driver ppd to see if it's only related to certain ppds. It could be even a gcc optmization bug. Try to rebuild cups packages with unset CLFAGS.
Unfortunately, everything you're suggesting is way over my head. Also the one thing that makes me think this bug may be specific to Arch is that when I search online I don't see any reports of it elsewhere, whereas I do see reports of the other issues people were having with upgrading to Cups 1.4 (e.g. the problem with usblp). I thought for sure at least in Ubuntu some people would be reporting it. Perhaps I just missed it somewhere.
I have strangely found now that with the foomatic driver only one job prints, the splix driver prints every other job (but shows all as completed successfully), and the unified driver from Samsung itself prints all jobs as expected (except the printing is way off center--printing is also off center with splix, only foomatic does a halfway decent job, which is why I want to use foomatic).
Would people please post bug reports at CUPS so they get the message: http://www.cups.org/
- patched versions like the one in Arch (with the patch that was applied to svn, just not released yet)
- third party drivers (splix), even though it worked just fine with cups 1.3
Very apple-ish attitude :/
I'm make a PKGBUILD
The other file user for make a package is the same of original PKGBUILD version 1.4.1, in extra (sorry for my english).
I can't add printer with cups 1-4-2 svn! it displayed an error message
The script is not elegant, but work.
In my system, usb printer is a second file in /dev/bus/usb/002. Adjust for your.
python /usr/local/bin/notify.py
Restart the system and test if work. No other action is necessary.
python /usr/local/bin/notify.py &
You can too execute the script in terminal, after system load.
Also, doesn't the fact that people have had this problem, upon upgrade to CUPS 1.4, with Foomatic, Splix, and the proprietary Samsung driver, indicate that this is something more than just a driver issue and perhaps a problem with CUPS itself? Doesn't that make the information about Splix and the proprietary drivers relevant?
Can print one job, usually a test page, then all subsequent jobs show up in cups job list as 'complete' but nothing is actually printed.