Public bug reported:
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_HL-1050_series_USB_1 (Default Printer) "Printer not connected;
will retry in 30 seconds..."
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/cups/filter/foomatic-rip 10 guest Test Page 1
job-uuid=urn:uuid:6af92a87-12cc-3537-5a2d-ed4616e17b19
cupsys 18061 0.0 0.1 2968 736 ? S 11:19 0:00
usb://Brother/HL-1050%20series 10 guest Test Page 1
job-uuid=urn:uuid:6af92a87-12cc-3537-5a2d-ed4616e17b19
cupsys 18063 0.0 0.8 6820 3920 ? S 11:19 0:00 /usr/bin/perl
/usr/lib/cups/filter/foomatic-rip 10 guest Test Page 1
job-uuid=urn:uuid:6af92a87-12cc-3537-5a2d-ed4616e17b19
cupsys 18064 0.0 0.8 6820 3660 ? S 11:19 0:00 /usr/bin/perl
/usr/lib/cups/filter/foomatic-rip 10 guest Test Page 1
job-uuid=urn:uuid:6af92a87-12cc-3537-5a2d-ed4616e17b19
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=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
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=/dev/fd/3 /dev/fd/0
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 \"@[EMAIL PROTECTED]"..., 4042
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\22H\222\v$\1\"\341\211\21\"\"\21\20\210B\340"..., 4096
Following are the last lines in the error.log with loglevel debug.
D [30/Oct/2006:11:19:47 +0100] [Job 10] renderer command: gs -q -dBATCH
-dPARANOIDSAFER -dNOPAUSE -sDEVICE=hl1250 -dEconoMode=1 -dSourceTray=0
-dPaperType=0 -sOutputFile=- -
D [30/Oct/2006:11:19:48 +0100] [Job 10]
D [30/Oct/2006:11:19:48 +0100] [Job 10] Closing renderer
D [30/Oct/2006:11:19:48 +0100] [Job 10] perl: warning: Setting locale failed.
D [30/Oct/2006:11:19:48 +0100] [Job 10] perl: warning: Please check that your
locale settings:
D [30/Oct/2006:11:19:48 +0100] [Job 10] LANGUAGE = (unset),
D [30/Oct/2006:11:19:48 +0100] [Job 10] LC_ALL = (unset),
D [30/Oct/2006:11:19:48 +0100] [Job 10] LANG = "en"
D [30/Oct/2006:11:19:48 +0100] [Job 10] are supported and installed on your
system.
D [30/Oct/2006:11:19:48 +0100] [Job 10] perl: warning: Falling back to the
standard locale ("C").
D [30/Oct/2006:11:19:48 +0100] [Job 10] foomatic-gswrapper: gs '-dBATCH'
'-dPARANOIDSAFER' '-dNOPAUSE' '-sDEVICE=hl1250' '-dEconoMode=1'
'-dSourceTray=0' '-dPaperType=0' '-sOutputFile=/dev/
fd/3' '/dev/fd/0' 3>&1 1>&2
D [30/Oct/2006:11:19:48 +0100] [Job 10] ESP Ghostscript 815.02 (2006-04-19)
D [30/Oct/2006:11:19:48 +0100] [Job 10] Copyright (C) 2004 artofcode LLC,
Benicia, CA. All rights reserved.
D [30/Oct/2006:11:19:48 +0100] [Job 10] This software comes with NO WARRANTY:
see the file PUBLIC for details.
D [30/Oct/2006:11:19:48 +0100] [Job 10] Warning: the map file cidfmap was not
found.
D [30/Oct/2006:11:19:48 +0100] [Job 10] Loading NimbusSanL-Bold font from
/var/lib/defoma/gs.d/dirs/fonts/n019004l.pfb... 2311876 914093 1569400 263070 1
done.
D [30/Oct/2006:11:19:48 +0100] [Job 10] Loading NimbusSanL-Regu font from
/var/lib/defoma/gs.d/dirs/fonts/n019003l.pfb... 2328540 990719 1569400 263550 1
done.
D [30/Oct/2006:11:19:48 +0100] [Job 10] Loading NimbusRomNo9L-Regu font from
/var/lib/defoma/gs.d/dirs/fonts/n021003l.pfb... 2445684 1127480 1569400 264314
1 done.
D [30/Oct/2006:11:19:49 +0100] [Job 10] Loading NimbusSanL-ReguCondItal font
from /var/lib/defoma/gs.d/dirs/fonts/n019063l.pfb... 2562828 1229132 1589496
281159 1 done.
And I'm not the only one with this problem, I found some on ubuntuforums with
this problems. Here only one link:
http://ubuntuforums.org/showthread.php?t=240549
** Affects: cupsys (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
Cups prints only first job on USB printer
https://launchpad.net/bugs/69265
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs