Cups prints only first job on USB printer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi!
I report this bug against the Dapper version of Cups.
I've attached a Brother HL-1050 Printer via USB to my SOHO server running Dapper. The first job which is send to CUPS after the printer is turned on or got connected to the server works without any problem. The next job send to CUPS never gets printed until I switch the printer on/off and or dis-/re-connect it from the usb bus.
Within the Cups-Webadmin interface it keeps writing:
Brother_
Following processes are running the whole time, even if I restart cupsys these processes get back if such a job is still in the queue.
cupsys 18057 0.0 0.4 4328 1936 ? Ss 11:19 0:00 /usr/sbin/cupsd
cupsys 18060 0.0 1.1 6820 5028 ? S 11:19 0:00 /usr/bin/perl /usr/lib/
cupsys 18061 0.0 0.1 2968 736 ? S 11:19 0:00 usb://Brother/
cupsys 18063 0.0 0.8 6820 3920 ? S 11:19 0:00 /usr/bin/perl /usr/lib/
cupsys 18064 0.0 0.8 6820 3660 ? S 11:19 0:00 /usr/bin/perl /usr/lib/
cupsys 18065 0.0 0.3 3104 1468 ? S 11:19 0:00 sh -c gs '-dBATCH' '-dPARANOIDSAFER' '-dNOPAUSE' '-sDEVICE=hl1250' '-dEconoMode=1' '-dSourceTray=0' '-dPaperType=0' '-sOutputFile=
cupsys 18066 0.1 2.1 16908 9712 ? S 11:19 0:01 gs -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=hl1250 -dEconoMode=1 -dSourceTray=0 -dPaperType=0 -sOutputFile=
following are the straces to look in which program the problem lies
strace -p 18060
Process 18060 attached - interrupt to quit
read(4,
strace -p 18061
Process 18061 attached - interrupt to quit
setup(
strace -p 18063
Process 18063 attached - interrupt to quit
waitpid(18065,
strace -p 18064
Process 18064 attached - interrupt to quit
write(1, "\2\5\20C \3\20\3\2# \10\3 A\1\0 \"@\4!@
strace -p 18065
Process 18065 attached - interrupt to quit
waitpid(-1,
strace -p 18066
Process 18066 attached - interrupt to quit
write(5, "!\21 \22\"B\
Following are the last lines in the error.log with loglevel debug.
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
fd/3' '/dev/fd/0' 3>&1 1>&2
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
D [30/Oct/
And I'm not the only one with this problem, I found some on ubuntuforums with this problems. Here only one link:
Changed in cupsys: | |
status: | Unconfirmed → Fix Released |
Brother HL-1430 only prints first job then "is gone" until drivers are cleaned up or printer is switched off/on or dis-/re-connected from/to the usb bus.