quoth the James:
darren kirby bulliver at badcomputer.org writes:
quoth the James:
Hello all,
After a emerge --update --deep --newuse world
and then
env-update source /etc/profile updatedb etc-update
I manually went throught the etc-update... Mostly X/KDE stuff
nothing related to printing...
I have lost print. I cannot even
lpr filename
The printer is fine, via a parallel port switchbox and MS pc
It has been working fine for 7 months.
You can set LogLevel to debug2 in cupsd.conf, and it will log
*everything* and might give you the error message you need to diagnose
this problem.
Ok, I did this; Here's what I get:
lpr postscript file
tail -f /var/log/cups/error_log
I [01/Mar/2005:16:20:34 -0500] Adding start banner page none to job 230.
I [01/Mar/2005:16:20:34 -0500] Adding end banner page none to job 230.
I [01/Mar/2005:16:20:34 -0500] Job 230 queued on 'hp4000n' by 'james'.
I [01/Mar/2005:16:20:34 -0500] Started filter /usr/lib/cups/filter/pstops
(PID 7099) for job 230.
I [01/Mar/2005:16:20:34 -0500] Started filter
/usr/lib/cups/filter/pstoraster(PID 7100) for job 230.
I [01/Mar/2005:16:20:34 -0500] Started filter
/usr/lib/cups/filter/rastertohp(PID 7101) for job 230.
I [01/Mar/2005:16:20:34 -0500] Started backend
/usr/lib/cups/backend/parallel(PID 7102) for job 230.
E [01/Mar/2005:16:20:34 -0500] PID 7101 stopped with status 1!
I [01/Mar/2005:16:20:34 -0500] Hint: Try setting the LogLevel to debug to
find out more.
E [01/Mar/2005:16:20:34 -0500] [Job 230] No pages found!
lpr ascii text file
tail -f /var/log/cups/error_log
I [01/Mar/2005:16:24:14 -0500] Adding start banner page none to job 232.
I [01/Mar/2005:16:24:14 -0500] Adding end banner page none to job 232.
I [01/Mar/2005:16:24:14 -0500] Job 232 queued on 'hp4000n' by 'james'.
I [01/Mar/2005:16:24:14 -0500] Started filter /usr/lib/cups/filter/texttops
(PID 7119) for job 232.
I [01/Mar/2005:16:24:14 -0500] Started filter /usr/lib/cups/filter/pstops
(PID 7120) for job 232.
I [01/Mar/2005:16:24:14 -0500] Started filter
/usr/lib/cups/filter/pstoraster(PID 7121) for job 232.
I [01/Mar/2005:16:24:14 -0500] Started filter
/usr/lib/cups/filter/rastertohp(PID 7122) for job 232.
I [01/Mar/2005:16:24:14 -0500] Started backend
/usr/lib/cups/backend/parallel(PID 7123) for job 232.
E [01/Mar/2005:16:24:14 -0500] [Job 232] No pages found!
E [01/Mar/2005:16:24:14 -0500] PID 7122 stopped with status 1!
I [01/Mar/2005:16:24:14 -0500] Hint: Try setting the LogLevel to debug to
find out more.
Where do I find out what status 1 is?
Status 1 just means it failed. Status 0 is what you want ;)
Anyway, I see you got it fixed by re-emerging, which makes sense because No
pages found! generally means a problem with your filters.
I think running revdep-rebuild might have told you that your cups was
broken, but maybe not...
PS: change the loglevel back to something sane unless you want MBs of printer
log files.
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
pgpMJbCh5cR6O.pgp
Description: PGP signature