Re: [gentoo-user] Printer setup tool
I restarted cupsd with debug2 and produced way too much data, the following seems to be the inportant part. It would appear that the wise poster was correct that Ghostscript is the breaking point. Should I just emerge Ghostscript? Creighton D [04/Jun/2005:14:54:30 -0400] [Job 6] Starting renderer D [04/Jun/2005:14:54:30 -0400] [Job 6] JCL: job data D [04/Jun/2005:14:54:30 -0400] [Job 6] D [04/Jun/2005:14:54:30 -0400] [Job 6] renderer PID kid4=15240 D [04/Jun/2005:14:54:30 -0400] [Job 6] renderer command: gs -q -dNOPAUSE -dPARANOIDSAFER -dBATCH -r600 -sDEVICE=ppmraw -sOutputFile=- - | pnm2ppa -v 722 -B 2 -t 10 -b 150 -l 10 -r 10 -x 160 -y 50 -i - -o - D [04/Jun/2005:14:54:30 -0400] [Job 6] sh: line 1: pnm2ppa: command not found D [04/Jun/2005:14:54:30 -0400] [Job 6] perl: warning: Setting locale failed. D [04/Jun/2005:14:54:30 -0400] [Job 6] perl: warning: Please check that your locale settings: D [04/Jun/2005:14:54:30 -0400] [Job 6] LANGUAGE = (unset), D [04/Jun/2005:14:54:30 -0400] [Job 6] LC_ALL = (unset), D [04/Jun/2005:14:54:30 -0400] [Job 6] LANG = en D [04/Jun/2005:14:54:30 -0400] [Job 6] are supported and installed on your system. D [04/Jun/2005:14:54:30 -0400] [Job 6] perl: warning: Falling back to the standard locale (C). D [04/Jun/2005:14:54:30 -0400] [Job 6] foomatic-gswrapper: gs '-dNOPAUSE' '-dPARANOIDSAFER' '-dBATCH' '-r600' '-sDEVICE=ppmraw' '-sOutputFile=| cat 3' '/dev/fd/0' 31 12 D [04/Jun/2005:14:54:30 -0400] [Job 6] ESP Ghostscript 7.07 (2003-07-12) D [04/Jun/2005:14:54:30 -0400] [Job 6] Copyright 2003 artofcode LLC and Easy Software Products, all rights reserved. D [04/Jun/2005:14:54:30 -0400] [Job 6] This software comes with NO WARRANTY: see the file PUBLIC for details. D [04/Jun/2005:14:54:30 -0400] [Job 6] D [04/Jun/2005:14:54:30 -0400] [Job 6] Closing renderer D [04/Jun/2005:14:54:30 -0400] [Job 6] cat: write error: Broken pipe d [04/Jun/2005:14:54:31 -0400] select_timeout: 11 seconds to process active jobs D [04/Jun/2005:14:54:36 -0400] [Job 6] Error: /ioerror in --.outputpage-- D [04/Jun/2005:14:54:36 -0400] [Job 6] Operand stack: D [04/Jun/2005:14:54:36 -0400] [Job 6] 1 true D [04/Jun/2005:14:54:36 -0400] [Job 6] Execution stack: D [04/Jun/2005:14:54:36 -0400] [Job 6] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 0 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- D [04/Jun/2005:14:54:36 -0400] [Job 6] Dictionary stack: D [04/Jun/2005:14:54:36 -0400] [Job 6] --dict:1052/1417(ro)(G)-- --dict:0/20(G)-- --dict:96/200(L)-- D [04/Jun/2005:14:54:36 -0400] [Job 6] Current allocation mode is local D [04/Jun/2005:14:54:36 -0400] [Job 6] Last OS error: 32 D [04/Jun/2005:14:54:36 -0400] [Job 6] ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1 D [04/Jun/2005:14:54:36 -0400] [Job 6] renderer return value: 127 D [04/Jun/2005:14:54:36 -0400] [Job 6] renderer received signal: 127 D [04/Jun/2005:14:54:36 -0400] [Job 6] Process dying with The renderer command line returned an unrecognized error code 127., exit stat: 1 D [04/Jun/2005:14:54:36 -0400] [Job 6] The renderer command line returned an unrecognized error code 127. D [04/Jun/2005:14:54:36 -0400] [Job 6] tail process done writing data to STDOUT D [04/Jun/2005:14:54:36 -0400] [Job 6] KID4 finished D [04/Jun/2005:14:54:36 -0400] [Job 6] KID3 exited with status 1 D [04/Jun/2005:14:54:36 -0400] [Job 6] Renderer exit stat: 1 D [04/Jun/2005:14:54:36 -0400] [Job 6] Renderer process finished D [04/Jun/2005:14:54:36 -0400] [Job 6] Killing process 15239 (KID3) D [04/Jun/2005:14:54:36 -0400] [Job 6] Process dying with Error closing renderer, exit stat: 1 D [04/Jun/2005:14:54:36 -0400] [Job 6] Error closing renderer d [04/Jun/2005:14:54:36 -0400] PID 15238 exited with no errors. E [04/Jun/2005:14:54:37 -0400] PID 15237 stopped with status 1! D [04/Jun/2005:14:54:37 -0400] UpdateJob: job 6, file 0 is complete. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
--- [EMAIL PROTECTED] wrote: Ghostscript 7.07.1: Unrecoverable error, exit code 1 D [04/Jun/2005:14:54:36 -0400] [Job 6] renderer return value: 127 D [04/Jun/2005:14:54:36 -0400] [Job 6] renderer received signal: 127 D [04/Jun/2005:14:54:36 -0400] [Job 6] Process dying with The renderer command line returned an unrecognized error code 127., exit stat: 1 D [04/Jun/2005:14:54:36 -0400] [Job 6] The renderer command line returned an unrecognized error code 127. Hi Creighton, I've had a problem like this before. In my case there were several drivers to choose from (I use the kde print wizard). I picked another driver and ghostscript was happy after that. Zac __ Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html -- gentoo-user@gentoo.org mailing list
Re: Re: [gentoo-user] Printer setup tool
On Thu, 02 Jun 2005, [EMAIL PROTECTED] wrote: I re-emerged cups, got cupsd to hold, setup my deskjet 722c as parralel port 0, It said everything was good, but the test page will not print! Suggestion: Change in /etc/cupsd.conf: LogLevel info to LogLevel debug or even to LogLevel debug2 Then restart cupsd, print, and read the logfiles again. I once had a problem with wrong Ghostscript. I installed app-text/ghostscript-afpl instead of app-text/ghostscript (the ESP Ghostscript from www.cups.org). urs -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
On Wed, 1 Jun 2005 21:17:16 -0500 (CDT), [EMAIL PROTECTED] wrote: bash-2.05b# cupsd cupsd: Child exited with status 98! Have you tried googling that error message? I found this http://www.linuxquestions.org/questions/showthread.php?s=threadid=154739goto=nextoldest -- Neil Bothwick As long as you do not move you can still choose any direction. pgpPXByCIgO18.pgp Description: PGP signature
Re: Re: [gentoo-user] Printer setup tool
Did you try emerging CUPS again? From: [EMAIL PROTECTED] Date: 2005/06/01 Wed PM 10:17:16 EDT To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Printer setup tool bash-2.05b# cupsd cupsd: Child exited with status 98! I happens after about 5 seconds. What I am doing doesn't sem to matter. I can't, cupsd dies quickly. Well, that's a problem. At what point does it die (what are you doing when it dies), and what does it say with its dying breath (error message)? Holly -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: Re: [gentoo-user] Printer setup tool
I re-emerged cups, got cupsd to hold, setup my deskjet 722c as parralel port 0, It said everything was good, but the test page will not print! Did you try emerging CUPS again? From: [EMAIL PROTECTED] Date: 2005/06/01 Wed PM 10:17:16 EDT To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Printer setup tool bash-2.05b# cupsd cupsd: Child exited with status 98! I happens after about 5 seconds. What I am doing doesn't sem to matter. I can't, cupsd dies quickly. Well, that's a problem. At what point does it die (what are you doing when it dies), and what does it say with its dying breath (error message)? Holly -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
bash-2.05b# cupsd cupsd: Child exited with status 98! I happens after about 5 seconds. What I am doing doesn't sem to matter. I can't, cupsd dies quickly. Well, that's a problem. At what point does it die (what are you doing when it dies), and what does it say with its dying breath (error message)? Holly -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
It no longer tells me that it cannot find tux but it still says that port 631 is aready in use and dies. Creighton I [30/May/2005:13:49:41 -0400] Listening to 7f01:631 I [30/May/2005:13:49:41 -0400] Listening to 0:631 I [30/May/2005:13:49:41 -0400] Loaded configuration file /etc/cups/cupsd.conf I [30/May/2005:13:49:41 -0400] Configured for up to 100 clients. I [30/May/2005:13:49:41 -0400] Allowing up to 100 client connections per host. I [30/May/2005:13:49:41 -0400] Full reload is required. I [30/May/2005:13:49:54 -0400] LoadPPDs: Read /etc/cups/ppds.dat, 16 PPDs... I [30/May/2005:13:49:54 -0400] LoadPPDs: No new or changed PPDs... I [30/May/2005:13:49:54 -0400] Full reload complete. E [30/May/2005:13:49:54 -0400] StartListening: Unable to bind socket for addres$ Sounds like you need to edit /etc/hosts to tell the system that tux is a synonym for localhost: 127.0.0.1 localhost.localdomain localhost tux ought to do it. Hope this helps, Holly -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
[EMAIL PROTECTED] schreef: It no longer tells me that it cannot find tux but it still says that port 631 is aready in use and dies. Creighton I would first open the CUPS administration web interface (http://localhost:631 in your web browser) and see if the printer had some stuck jobs in the queue, and stop them if so. If that didn't work, I might even go so far as to remove the installed printer, stop CUPS, restart CUPS, reopen the web interface and reinstall the printer. Hope this helps. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
I can't, cupsd dies quickly. [EMAIL PROTECTED] schreef: It no longer tells me that it cannot find tux but it still says that port 631 is aready in use and dies. Creighton I would first open the CUPS administration web interface (http://localhost:631 in your web browser) and see if the printer had some stuck jobs in the queue, and stop them if so. If that didn't work, I might even go so far as to remove the installed printer, stop CUPS, restart CUPS, reopen the web interface and reinstall the printer. Hope this helps. Holly -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
[EMAIL PROTECTED] schreef: [EMAIL PROTECTED] schreef: Holly Bostick wrote back: It no longer tells me that it cannot find tux but it still says that port 631 is aready in use and dies. I would first open the CUPS administration web interface (http://localhost:631 in your web browser) and see if the printer had some stuck jobs in the queue, and stop them if so. If that didn't work, I might even go so far as to remove the installed printer, stop CUPS, restart CUPS, reopen the web interface and reinstall the printer. I can't, cupsd dies quickly. Well, that's a problem. At what point does it die (what are you doing when it dies), and what does it say with its dying breath (error message)? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
Yes, that would be a problem G. Check /var.log/cups/ for the log files and see what they say. On Tue, 31 May 2005, Holly Bostick wrote: [EMAIL PROTECTED] schreef: [EMAIL PROTECTED] schreef: Holly Bostick wrote back: It no longer tells me that it cannot find tux but it still says that port 631 is aready in use and dies. I would first open the CUPS administration web interface (http://localhost:631 in your web browser) and see if the printer had some stuck jobs in the queue, and stop them if so. If that didn't work, I might even go so far as to remove the installed printer, stop CUPS, restart CUPS, reopen the web interface and reinstall the printer. I can't, cupsd dies quickly. Well, that's a problem. At what point does it die (what are you doing when it dies), and what does it say with its dying breath (error message)? Holly -- Brett I. Holcomb [EMAIL PROTECTED] Registered Linux User #188143 Remove R777 to email -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
or change it to http://localhost:631/printers/DeskJet722C On 5/29/05, Holly Bostick [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] schreef: None of the other logs have anyhting that jumps out at me, but this would imply that cupsd is dying because my machine is naming itself tux and cups cannot determine that means Localhost here. Any gurus know how I should go about fixing this? Creighton Sounds like you need to edit /etc/hosts to tell the system that tux is a synonym for localhost: 127.0.0.1 localhost.localdomain localhost tux ought to do it. Hope this helps, Holly -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
On Sat, 28 May 2005 15:24:29 -0500 (CDT) [EMAIL PROTECTED] wrote: Are there any tools to help me set up my printer (Hp Deskjet 722c)? The gentoo docs don't seem to work for my and I can't understand why. The computer thinks that its sending the jobs, reports that the printer is active and idle, but the jobs seem to vanish into /dev/null and the printer never even twitches. Have you emerged hpoj and hoijs, and added hpoj to default? Have you read - http://gentoo-wiki.com/HOWTO_hpoj_/_CUPS and - http://gentoo-wiki.com/HOWTO_HP_Deskjet_720C_with_CUPS Bob -- - Are you living in the real world? - -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
On Sat, May 28, 2005 9:24 pm, [EMAIL PROTECTED] said: Are there any tools to help me set up my printer (Hp Deskjet 722c)? The gentoo docs don't seem to work for my and I can't understand why. The computer thinks that its sending the jobs, reports that the printer is active and idle, but the jobs seem to vanish into /dev/null and the printer never even twitches. Are there any clues in the log files in /var/log/cups/ ? -- Neil Bothwick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
I have done all of these things, or tried anyway. Creighton Take a walk over to http://www.linuxprinting.org/ it will answer every question you have... I am feeling helpful this evening so here: 1. Your printer should work perfectly http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_722C 2. Cups guide: http://www.linuxprinting.org/cups-doc.html Pretty much emerge cups and download the ppd file for your printer from here: http://www.linuxprinting.org/ppd-o-matic.cgi?driver=pnm2ppaprinter=HP-DeskJet_722Cshow=0 than copy that into /usr/share/cups/model/ than restart the cups daemon. Now open up firefox or what ever internet browser you use and type: http://localhost:631/admin login as root. Select Add Printer and yeah go from there... That should help you get it working or at least on the right track... Hope it helps Cheers Rav On 5/28/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Are there any tools to help me set up my printer (Hp Deskjet 722c)? The gentoo docs don't seem to work for my and I can't understand why. The computer thinks that its sending the jobs, reports that the printer is active and idle, but the jobs seem to vanish into /dev/null and the printer never even twitches. Creighton -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Printer setup tool
[EMAIL PROTECTED] schreef: None of the other logs have anyhting that jumps out at me, but this would imply that cupsd is dying because my machine is naming itself tux and cups cannot determine that means Localhost here. Any gurus know how I should go about fixing this? Creighton Sounds like you need to edit /etc/hosts to tell the system that tux is a synonym for localhost: 127.0.0.1 localhost.localdomain localhost tux ought to do it. Hope this helps, Holly -- gentoo-user@gentoo.org mailing list